On Tue, 19 Feb 2013 20:28:16 -0500
Will Orr <[email protected]> wrote:
> Here[1] is the problematic code.
> 
> I'm trying to run a command and gather the output and return code. I
> do this by watching for the process to return, as well as waiting for
> the channels to HUP. However, my callbacks never get called with cond
> set to G_IO_HUP, even after the process terminates. Nor do any of the
> g_io_channel_read_* calls return errors. This seems inconsistent with
> the documentation, as well as examples that I've found in the hours of
> researching this problem.
> 
> I'm clearly doing something wrong, I'm just not sure where yet. Any
> advice or solutions would be great. Thanks so much! Let me know if I
> need to provide anymore information. Please CC me, as I'm not a member
> of this list.

This will help you:

http://www.greenend.org.uk/rjk/2001/06/poll.html

Chris
_______________________________________________
gtk-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to