From: Charles Oliver Nutter Date: 2010-07-02T04:48:45+09:00 Subject: Re: RCR: IO.popen4 On Wed, Jun 30, 2010 at 5:34 AM, Urabe Shyouhei wrote: > (2010/06/30 18:30), Charles Oliver Nutter wrote: >> We added both open3 and open4 because the existing implementations >> used fork. > > You might already be aware of the fact, that 1.9's open3 no longer uses fork. I did not, but this may help. I believe both spawn and detach should be possible in JRuby, and the JDK's process-wrangling APIs work in a similar way already. We'll still need a custom version for 1.8 mode though. - Charlie