Help needed with Windows Service in Python

David 71david at libero.it
Thu Sep 2 19:03:51 CEST 2010


Il Thu, 02 Sep 2010 16:22:04 +0100, Ian Hobson ha scritto:

> self.ReportServiceStatus(win32service.SERVICE_STOP_PENDING)

You may try to give a WaitHint parameter to ReportServiceStatus call,
otherwise the Service Manager will expect the service is stopped istantly.

self.ReportServiceStatus(win32service.SERVICE_STOP_PENDING, 1000)


David



More information about the Python-list mailing list