Bugs item #12881, was opened at 2007-08-07 19:17
You can respond by visiting:
http://rubyforge.org/tracker
/?func=detail&atid=411&aid=12881&group_id=85
Category: win32-service
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: John Leake (ozwaldtwistle)
Assigned to: Nobody (None)
Summary: Cannot wait on Process -
service_daemon/service_main
Initial Comment:
First of all a warm thank you to all contributors of this
excellent library.
Windows XP Pro SP2
Ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
Service 0.5.2
Process 0.5.3
I am using code based on the examples tdaemon.rb and
tdaemon_ctl.rb
Within tdaemon.rb/service_main() I launch an exe using
Process.create and then use Process.waitpid2(process_id) to
catch it if it crashes and then restart it.
This works fine but when I call service_stop to kill the
process it the call blocks until I kill the exe externally.
Any suggestions ?
------------------------------------------------------------
----------
You can respond by visiting:
http://rubyforge.org/tracker
/?func=detail&atid=411&aid=12881&group_id=85
_______________________________________________
win32utils-devel mailing list
win32utils-devel rubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel
|