From: Ilan Berci Date: 2007-11-28T06:42:00+09:00 Subject: Re: How to redirect a "system" standard output and standard Venks wrote: > To clarify further I want to capture any standard output or standard > error. > irb(main):001:0> r = `rm somefile 2>&1` => "rm: cannot remove `somefile': No such file or directory\n" ilan -- Posted via http://www.ruby-forum.com/.