From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-07T17:14:57+09:00 Subject: Re: capture output On Wed, 07 May 2003 10:32:29 +0200, Robert Klemme wrote: > res = capture { > puts "1" > popen("ruby output.rb", "r") do |io| > print( io.read ) > end ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I want to capture all output from ruby, so that ruby cannot interfere with that application that im embedding ruby into. Silencing ruby 100%! This is not a solution to the problem the output from system("true") `true` will not get captured properly. > puts "2" > } Thanks for trying :-) -- Simon Strandgaard