[Win32utils-devel] Problem with starting service with win32-service
phasis at gmail.com
Wed Aug 7 01:37:24 UTC 2013
2013/8/7 Sean Karlage <sean.karlage at uky.edu>:
> One additional question: what is the best way to stop an already running
> service if it's not in the processing phase? For example, I'd like to run
> this script once daily. The processing doesn't take hardly any time at all,
> so the rest of the time the process is asleep. However, if I try to run
> Service.stop() on my code, it hangs (ostensibly because it's waiting for the
> service to wake back up again).
I think the simple way to stop a service which is in an abnormal state
is just kill process through Windows Task Manager.
More information about the win32utils-devel