From: "Ara.T.Howard" Date: 2005-06-28T06:42:33+09:00 Subject: Re: redirecting STDOUT On Tue, 28 Jun 2005, Joe Van Dyk wrote: > Nevermind, it does work! > > My test application was the following Ruby application: > > #!/bin/env ruby STDOUT.sync = true > while true > puts "pid: #{Process.pid}, time: #{Time.now}" > sleep 0.2 > puts > end > > Does #puts not write to STDOUT by default? you would've seen it eventually... you also could do STDOUT.flush after each write cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | My religion is very simple. My religion is kindness. | --Tenzin Gyatso ===============================================================================