Signal.trap ignored on Windows ------------------------------ Key: JRUBY-5293 URL: http://jira.codehaus.org/browse/JRUBY-5293 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.5.6 Environment: Windows Vista Reporter: Daniel Berger
JRuby doesn't seem to be picking up my signal trap on Windows: {code} 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 {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email