Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.5.6
-
Fix Version/s: None
-
Component/s: Windows
-
Labels:None
-
Environment:Windows Vista
-
Number of attachments :
Description
JRuby doesn't seem to be picking up my signal trap on Windows:
handle = File.open('trap_test.txt', 'w+')
Signal.trap('ABRT'){ handle.print('hello') }
Process.kill('ABRT', Process.pid)
handle.rewind
p handle.read # => "hello" with MRI, empty string with JRuby
handle.close