[Win32utils-devel] Demo daemon failure with mingw
djberg96 at gmail.com
Mon Sep 5 12:06:13 EDT 2011
On Sun, Sep 4, 2011 at 7:10 AM, Heesob Park <phasis at gmail.com> wrote:
> 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
Whoops! I don't know what I did but it seems to be working now.
More information about the win32utils-devel