[Win32utils-devel] Demo daemon failure with mingw
phasis at gmail.com
Sun Sep 4 09:10:36 EDT 2011
2011/8/22 Daniel Berger <djberg96 at gmail.com>
> I'm having some trouble with mingw and win32-service.
> Ruby 1.8.7 p330 (mingw)
> Windows Vista
> >ruby demo_daemon.rb install
> >ruby demo_daemon.rb start
> c:\>tail -f win32_daemon_test.log
> Daemon failure: Service_Main thread exited abnormally
> Using a version compile with VC9 works as expected, however.
> Any ideas? I'm not using seh.h btw.
Here is an update of this issue.
I succeeded to run win32-service with win32-service 0.7.2 of daemon.c on
Ruby 1.8.7 p352 (mingw)
Windows 7 64bit
I'd like to know the reason why you're trying to run
ruby demo_daemon.rb install
ruby demo_daemon.rb start
The demo_daemon.rb is not for running on console.
The correct way is using demo_daemon_ctl.rb like
ruby demo_daemon_ctl.rb install
ruby demo_daemon_ctl.rb start
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the win32utils-devel