Aahz wrote:
In article <4b79e28c$0$4610$426a7...@news.free.fr>,
News123 <news...@free.fr> wrote:
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.
Use the win32 package.
Indeed, there's some intersting code in this area here:
http://svn.zope.org/Zope/trunk/src/nt_svcutils/service.py?rev=104819&view=auto
http://svn.zope.org/Zope/trunk/src/Zope2/Startup/zopectl.py?rev=105396&view=auto
...particularly in the do_install function in the latter...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python-list