Alex Wayne wrote:
> I have a long running system command that I want to print the output
> from a ruby script.  Basically, this system command runs like a daemon
> and prints output.  So it I just use:
> 
>   `./mycommand foo`
> 
> The output is completely supressed, and my ruby script simply appears to
> hang.
> 
> So how can I execute a system command and have the output streamed back
> to the terminal before the command finishes?

ri IO::popen
-- 
Posted via http://www.ruby-forum.com/.