Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Receiving signals in Win32/Process
Sonny Chee
2/13/2007 8:07:00 PM
Hey Guys,
I've created some Window's processes uing the Win32/Process (by Daniel
Berger) library. When I send a signal to these processes using
Win32/Process.kill([1,3..9], pid), the processes are always killed.
I've tried trapping for the signal using both a rescue and Signal.trap()
clause with no luck.
I know that the Unix versions of the Process library allow you to
capture the signal with a rescue clause for either SignalException or
Interrupt Exceptions. Anyone know if the Win32/Process implements
similar behavior for signals or failing that if anyone has a workaround.
Sonny.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Receiving signals in Win32/Process
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password