From: Francis Cianfrocca Date: 2007-07-20T10:56:01+09:00 Subject: Re: IO.popen - continuous output ------=_Part_125522_15702597.1184896562633 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/19/07, Andy Koch wrote: > > Hi, > > is it possible to get a continuous output stream with IO.popen('xxx') > > example, > > IO.popen('tail -f some_log_file')... > > where the goal is to see the tail output as it's generating, rather than > waiting for the process to complete to dump the generated output. I know this is possible with EventMachine's version of popen. If no one else comes up with a standard way to do it, look at EventMachine. ------=_Part_125522_15702597.1184896562633--