[python-win32] Setting service exit code on stop
Robert Kearns
kearnssoftware at gmail.com
Sat Aug 8 21:19:38 EDT 2020
Hello all,
I am having a look through the C++ source code (in
particular win32/src/PythonService.cpp), trying to deduce a way to have the
Python service set the exit code on stop.
It appears that on a successful stop, both exit codes (svc and win32) are
set to 0, overriding any previously set value.
Does anyone know of any way around this? If not, would this be a welcome
feature request?
Best regards,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20200808/dde5db3e/attachment.html>
More information about the python-win32
mailing list