From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-07T19:36:10+09:00 Subject: Re: capture output On Wed, 07 May 2003 20:12:16 +0900, Brian Candler wrote: > On Wed, May 07, 2003 at 05:14:57PM +0900, Simon Strandgaard wrote: >> I want to capture all output from ruby, so that >> ruby cannot interfere with that application that >> im embedding ruby into. Silencing ruby 100%! > > $defout = $stdout = $stderr = File.open("/dev/null","w") I want to encapsulate ruby so its behaving like a c++ iostream class.. what I want is to redirect everything. Thanks for your /dev/null efforts.. but I cannot use this either :-) -- Simon Strandgaard