From: Charles Calvert Date: 2008-04-19T11:50:07+09:00 Subject: Re: Win32 Process Signals On Tue, 15 Apr 2008 07:59:42 -0500, Christian Kerth wrote: > Avdi Grimm wrote: >> >> Signal.trap(0, proc { puts "Terminating: #{$$}" }) >> Signal.trap("CLD") { puts "Child died" } >> fork && Process.wait [snip] > Yeah, i know. But this obviously doesn't work with win32. > > My traps don't catch anything *gg* If you can't find a more portable solution, look at Win32 events, starting with the CreateEvent function. -- Charles Calvert | Software Design/Development Celtic Wolf, Inc. | Project Management http://www.celticwolf.com/ | Technical Writing (703) 580-0210 | Research