En Mon, 11 Jan 2010 23:33:23 -0300, Mario Alejandro Vilas Jerez
<mvi...@gmail.com> escribió:
But what I think you're really looking for is the Service Control
Manager:
http://msdn.microsoft.com/en-us/library/ms685150(VS.85).aspx
The ControlService API lets you stop services (among other things):
http://msdn.microsoft.com/en-us/library/ms682108(VS.85).aspx
And the StartService API lets you start a service manually:
http://msdn.microsoft.com/en-us/library/ms686321(VS.85).aspx
All of which are covered in the win32service and win32serviceutil modules
inside PyWin32. There are a couple demos too. It's quite easy to write a
service using the classes provided.
--
Gabriel Genellina
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32