Displaying 1 result from an estimated 1 matches for "sigbrk".
Did you mean:
sigblk
2006 May 12
0
win32-process 0.4.0 - SIGINT/SIGBRK not working
...)
}
trap("KILL") {
puts "KILL signal received."
exit(1)
}
while 1
puts "in loop"
sleep 5
end
====
now, from a irb console I tried the following:
irb(main):001:0> require ''win32/process''
=> true
irb(main):002:0> Process.kill("SIGBRK", 3380)
NameError: uninitialized constant Process::CTRL_BRK_EVENT
from C:/Ruby/lib/ruby/gems/1.8/gems/win32-process-0.4.0-mswin32/lib/win32/process.rb:156:in
`kill''
from C:/Ruby/lib/ruby/gems/1.8/gems/win32-process-0.4.0-mswin32/lib/win32/process.rb:124:in
`kill'...