How to use python to register a service (an existing .exe file)

News123 news123 at
Tue Feb 16 01:10:51 CET 2010


Is there a python way to register new windows services.

I am aware of the
instsrv.exe program, which can be used to install services.
I could use subprocess.Popen to call

instsrv.exe "service_name" program.exe

but wondered, whether there's already an existing function.

Thans in advance and bye


More information about the Python-list mailing list