On Mon, Oct 17, 2011 at 10:44 PM, Jared Grippe <ruby-forum.com / deadlyicon.com> wrote: > this worked for me but is kind of lame Daniel's point is that you can do what you want in the Ruby script: it won't work if you cannot convince the other process to flush its output quicker (see initial posting of the thread). > Daniel DeLorme wrote in post #567176: >> ara.t.howard wrote: >>> the general concepts are: >>> >>> IO.popen cmd, 'r+' do |pipe| >>> =A0 pipe.sync =3D true ### you can do this once >> >> Except that doesn't work. If the subprocess doesn't flush its output, >> setting sync to true won't change anything. Cheers robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/