Re: external application output to a buffer



Sorry, my original reply didn't go to the list.

On Sat, 2005-02-19 at 18:50 +0100, Stefano Esposito wrote:
i'm trying to redirect the output of an external application 
called with ` ` to a buffer. I need that the output is sent 
to the buffer in real time, like a console and not when 
external program's execution is finished. Any hint?

http://gtk2-perl.sourceforge.net/faq/#43


The main lines are the 

   open(IN, "...|")

and

   $tag = Gtk2::Helper->add_watch(fh,'in', sub {...} ) lines. 

Regards
Grant




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]