On Fri, May 02, 2003 at 11:27:52PM +0900, Paul Brannan wrote: > The solution is to change the line: > > sso = $stdout > > to: > > sso = $stdout.dup Or alternatively: $defout = f ... to file $defout = $stdout ... to screen Or: $defout = f ... to file $defout = STDOUT ... to screen I profess to not fully understanding the different between $defout, $stdout and STDOUT; but I believe that $defout is where puts and friends send their output by default, so you can change this to a different Ruby stream without touching the stdout which is connected to the process. Regards, Brian.