From: Roger Pack Date: 2010-07-27T20:59:05+09:00 Subject: Re: IO.popen exit the program when it failed Daniel Flores wrote: > i found the solution on the forum :D > > i use: IO.popen(cmdline + " 2>&1", "w+") > > but now i have another problem, if i run a command that needs several > lines > the output comes back incomplete. > Any ideas? use .read instead of .gets (?) -r -- Posted via http://www.ruby-forum.com/.