Determine a NT service's executable name ?

Harald Schneider h_schneider at marketmix.com
Tue Jun 24 10:50:30 EDT 2003


Hi,

is there a possibility how to determine a services executable file name (and
path) from within the service itself ?

I need to create multiple services of the same application. The app needs to
read a config file, which name depends on the name of the application's
executable itself. So hardcoding it in the registry is no solution ...


--Harald






More information about the Python-list mailing list