From: Charles Oliver Nutter Date: 2010-06-30T18:30:53+09:00 Subject: Re: RCR: IO.popen4 On Fri, Jun 25, 2010 at 4:36 PM, Roger Pack wrote: > Jruby has come up with a new method, > > pid,r,e,w = IO.popen4("ls") > > suggestion: this should be a part of std lib, for the reasons I > discussed above. We added both open3 and open4 because the existing implementations used fork. open3 is just all three streams and open4 also provides the pid. open3 is of course normally from require 'open3', which in JRuby now just uses the builtin open3. open4 is equivalent to the open4 gem, which also uses fork and can't work on JRuby. - Charlie