From: Paul Brannan Date: 2002-01-29T03:24:25+09:00 Subject: Re: popen3 and buffering On Tue, Jan 29, 2002 at 02:58:30AM +0900, Yohanes Santoso wrote: > I'd use gets and puts instead of the more primitive read and write. Using gets and puts, I get the lines as they are being outputted. Ruby 1.6.5. This doesn't seem to help. The problem is not in read/write, but in select(), which doesn't return immediately when data is received. I should note that I'm running this on Redhat Linux 7.2, kernel 2.4.7. A Win32 ruby might have different behavior. Paul