On Sat, 21 Mar 2015 13:47:04 +0000
Florian Müllner <fmuell...@gnome.org> wrote:
> On Sat, Mar 21, 2015 at 12:31 PM Chris Vine
> <ch...@cvine.freeserve.co.uk> wrote:
> >
> > Further, there are cases where porting to GSubprocess does not
> > actually do the job easily because (as I understand it)
> > GSubprocessFlags can be set to either close all descriptors on exec
> > other than those for stdin, stdout and stderr, or not close any
> > descriptors on exec.
> >
> 
> Isn't that case covered by g_subprocess_launcher_take_fd()?

It looks as if it is.  That's good to know.

Given the restrictions on what you can do between a fork and an exec
in a multi-threaded program (and gio is multi-threaded) the
implementation of GSubprocess looks as if it must be quite clever.

Chris
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to