From: Glen Holcomb Date: 2007-06-05T02:48:14+09:00 Subject: Re: How to capture the output of system("")? ------=_Part_5385_23630100.1180979287122 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline for example `ls /etc` On 6/4/07, Glen Holcomb wrote: > > use `` instead of system("") > > On 6/4/07, Yingqi Tang wrote: > > > > All, > > > > When I can system("...") in ruby, I got either true or false returned, > > but how do I capture the information that being printed out in console > > when the cmd is being executed? > > > > Thanks > > > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > > -- > "Hey brother christian with your high and mighty errand, Your actions > speak so loud, I can't hear a word you're saying." > > -Greg Graffin (Bad Religion) -- "Hey brother christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_5385_23630100.1180979287122--