Robert Gleeson created JRUBY-6409: ------------------------------------- Summary: Open3.popen3(...) is broken in 1.9 mode Key: JRUBY-6409 URL: https://jira.codehaus.org/browse/JRUBY-6409 Project: JRuby Issue Type: Bug Components: Standard Library Affects Versions: JRuby 1.6.5 Environment: Mac OSX. Reporter: Robert Gleeson Assignee: Thomas E Enebo
It appears Open3.popen3(...) is broken on JRuby in 1.9 mode. On 1.8.7, it returns three arguments (stdin, stdout, and stderr). On 1.9.X, it returns (stdin, stdout, stderr, and a thread). You can use the thread argument to access a Process::Status object, and the PID of the spawned command. To reproduce: stdin, stdout, stderr, thr = Open3.popen3 "ls" thr.value # => NoMethodError (called on nil) Thanks! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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