[python-win32] What happens in a Python service in case of exception thrown?

Siyuan Ren netheril96 at gmail.com
Thu Mar 3 00:21:29 EST 2022


I'm trying to subclass win32serviceutil.ServiceFramework in order to create
a Windows service in Python. I vaguely understand how each stage of service
works, but I wonder, what happens if any of the python code throws an
exception? Will the service stop, or put in an abnormal state without
recourse?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20220303/484a9f34/attachment.html>


More information about the python-win32 mailing list