search for: process_kill

Displaying 1 result from an estimated 1 matches for "process_kill".

Did you mean: process_file
2004 Nov 20
0
SIGINT in win32-process
...ram on one console: # test.rb trap("SIGINT"){ puts "Got signal" exit } puts "PID: " + Process.pid.to_s while 1 puts "Hello" sleep 3 end Then, from another console, try to send Process.kill(2,pid) using win32-process. You will need to modify process_kill() in process.c slightly to make sure case 2 is the ctrl_c handler. Is what I''m trying to do even possible? Help wanted. Regards, Dan In the immortal words of Socrates, "I drank what?"