Chris,

Try using popen - eg.

IO.popen("vmstat 1") { |f| while !f.eof ; print f.readline ; end }

Regards, PaulC

Chris Moline <ugly-daemon / home.com> wrote in message news:<v_%87.492$yi7.73017 / e420r-atl3.usenetserver.com>...
> I am trying to get the backquotes to print everything "as it comes" instead of
> after the backquotes are done. Does anyone have any idea how to do this?? Using
> $stdout.sync = true does not work. Here is the relevant part of the script
> 
> def make( action )
> 	print `cd #{ @ports_dir }/#{ @category }/#{ @portname };
> 		make #{ action } #{ autoclean? ? "clean" : "" }`
> end
> 
> What happens is I install a port it sits for a very long time and then prints
> huge gobs of info all at once. Everything works right, I just want it flushed
> right away.
> 
> Sincerly,
> Chris Moline