From: unbewust Date: 2007-08-11T19:10:30+09:00 Subject: Re: stderr stdout redirection with Ruby ??? On 10 ao�t, 23:02, "ara.t.howard" wrote: > On Aug 10, 2007, at 3:30 AM, unbewust wrote: > > > > > i'm sure there is a more elegant way doing that in Ruby, avoiding > > shelling, BUT HOW TO ? > > require 'rubygems' > require 'open4' > > stdin = '', stdout = '', stderr = '' > > Open4.spawn cmd, :stdin=>stdin, :stdout=>stdout, :stderr=>stderr > > there are many example in the dist and postings on this list. > > a @http://drawohara.com/ Fine ! thanks a lot !!!