Displaying 1 result from an estimated 1 matches for "ctrl_brk_event".
Did you mean:
ctrl_break_event
2006 May 12
0
win32-process 0.4.0 - SIGINT/SIGBRK not working
...."
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''
from (irb):2
irb(main):003:0>
====
When calling SIGINT...