Help needed with Windows Service in Python

Ian hobson42 at gmaiil.com
Thu Sep 2 20:45:01 CEST 2010


  On 02/09/2010 18:03, David wrote:
> 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
Thanks David.

Sadly that makes no difference.




More information about the Python-list mailing list