[python-win32] Running a Windows Python service without pythonservice.exe?

Mark Hammond skippy.hammond at gmail.com
Thu May 13 01:53:11 CEST 2010


On 13/05/2010 9:25 AM, Bill Janssen wrote:
> Mark Hammond<skippy.hammond at gmail.com>  wrote:
>
>> Execute 'python nativePipeTestService.py install' to install it, then
>> start it as normal (ie, don't run it manually with no args).
>
> Yes, that's what I tried first.  See my message
> <67901.1273677394 at parc.com>, just previous to the one you replied to.

Sorry - I missed that 'install' command in that message.

> $ sc start PyNativePipeTestService
> [SC] StartService FAILED 1053:
>
> The service did not respond to the start or control request in a timely fashion.
>
> $
>
> Same thing if I try to start it from the System Management GUI tool.

I'm not sure what the problem could be.  It appears Python is finding 
all the modules OK and I can't think of why the service request would be 
failing.  Does the standard old pipeTestService.py still work for you?

Mark


More information about the python-win32 mailing list