From: "ara.t.howard" Date: 2008-05-10T09:14:54+09:00 Subject: Re: capture output in real time On May 9, 2008, at 6:08 PM, Paul Winward wrote: > > Note, I'm avoiding STDOUT.flush in sleep.rb since I won't be able to > change the actual scripts I'll be passing to popen3. popen3 is going to be using fork/exec under the hood and should inherit the sync setting of STDOUT, so try setting STDOUT.sync = true before the popen and see if that helps - untested, but i'm running out the door.... cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama