Re: Piping stdout/stderr to a textview widget



On Tue, 9 Nov 2004, Tony Freeman wrote:

How does one pipe the stdout/stderr from the popen command to a textview widget?

I suggest looking into the g_spawn family of functions, e.g.,
g_spawn_async_with_pipes(), which does a lot of the heavy lifting for you: you just poke in pointers to pick up stderr and stdout output.

Allin Cottrell.



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