[master 00/17] Improve child process starting and management

Colin Walters walters at verbum.org
Tue Sep 23 15:09:09 UTC 2014

On Sun, Sep 21, 2014, at 03:36 PM, David Shea wrote:
> The overall goal is to ensure that any time we start a new process, it
> should
> be started with a clean set of signal handlers (in particular, make sure
> that
> SIGPIPE is set to SIG_DFL instead of the SIG_IGN set by python) and no
> file
> descriptors from the parent make it through exec() other than stdin,
> stdout and
> stderr.

Note GLib.spawn* does that by default, and with the new GSubprocess
there are nicer async APIs on top.  The problem going forward is still
that only one thing can use SIGCHILD, so anaconda installing its own
will break GLib's.

More information about the anaconda-patches mailing list