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/.