Mark Hammond <[email protected]> wrote:
> See attached sample which works for me - be sure to place it in the
> same directory as the pipeTestService.py sample (win32/Demos/service).
All right, I put it in a file called nativePipeTestService.py, in that
directory, and tried it. Here's what I get:
$ pwd -W
c:/UpLib/1.7.9/python/Lib/site-packages/win32/Demos/service
$ python nativePipeTestService.py install
Installing service PyNativePipeTestService
Service installed
$ sc query PyNativePipeTestService
SERVICE_NAME: PyNativePipeTestService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
$ sc qc PyNativePipeTestService
[SC] GetServiceConfig SUCCESS
SERVICE_NAME: PyNativePipeTestService
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "c:\UpLib\1.7.9\python\python.exe"
"c:\UpLib\1.7.9\python\Lib\site-packages\win32\Demos\service\nativePipeTestService.py"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Python Native Pipe Test Service
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
$ python nativePipeTestService.py start
Starting service PyNativePipeTestService []
Error starting service: The service did not respond to the start or control
request in a timely fashion.
$
What should I try next?
Bill
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32