[Win32utils-devel] Problem with starting service with win32-service

Sean Karlage sean.karlage at uky.edu
Wed Aug 7 02:01:01 UTC 2013

The service is not in an abnormal state though. Following Daniel's example
from his github, after all main processing is done, I call sleep for some
amount of time. While that sleep is in effect, the process cannot be

On Tue, Aug 6, 2013 at 6:37 PM, Heesob Park <phasis at gmail.com> wrote:

> Hi,
> 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.
> Regards,
> Park Heesob
> _______________________________________________
> win32utils-devel mailing list
> win32utils-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/win32utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20130806/e8200005/attachment.html>

More information about the win32utils-devel mailing list