Re: GIOChannel and pipes.
- From: Tim Müller <zen18864 zen co uk>
- To: gtk-app-devel-list gnome org, "Claudio Saavedra V." <csaavedra alumnos utalca cl>
- Cc:
- Subject: Re: GIOChannel and pipes.
- Date: Mon, 7 Jun 2004 14:59:29 +0100
On Saturday 05 June 2004 04:33, Claudio Saavedra V. wrote:
I'm trying to write an GTK/GNOME application that uses pipes, and i want to
use GIOChannel for it, but i have no other documentation than the API, and
i can't find examples or codes in the net about it.
Does anyone know (excluding the API) some good start point or has a little
example code that can be usefull to me?
And yes, i have googled a lot :)
You can find a small example that reads stuff from pipes via GIOChannels here:
http://scentric.net/tmp/spawn-async-with-pipes-gtk.c
The programs spawns wget and reads wget's stdout and stderr from pipes (stdout
being the data retrieved in this case, and stderr being wget's error/status
output). Maybe not the most brilliant example, but better than nothing ;)
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]