Re: Piping stdout/stderr to a textview widget
- From: Allin Cottrell <cottrell wfu edu>
- To: Tony Freeman <tony freeman insightbb com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Piping stdout/stderr to a textview widget
- Date: Tue, 9 Nov 2004 23:46:04 -0500 (EST)
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]