IO.popen not closing on 'yes' ----------------------------- Key: JRUBY-4708 URL: http://jira.codehaus.org/browse/JRUBY-4708 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.4 Reporter: Thomas E Enebo Priority: Critical
The code snippet from 4701 does not run on my machine either. It does not crash but things never close either. When I run specs I generally have to kill some 'yes' processes and this appears to be a problem with close: {noformat} io = IO.popen('yes', 'r') p io.gets io.close p "after" {noformat} -- 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