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

2022-03-02 Thread Siyuan Ren
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 recours

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

2022-03-02 Thread Mark Hammond
On 3/03/2022 4:21 pm, Siyuan Ren wrote: 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,