Setting service exit code on stop
Robert Kearns <[email protected]>
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <CACfwvDLQt-f+nK=E=JGvR453Kchx4b4mvD_AmkZsoYSnXUJKng@mail.gmail.com> |
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 _______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32