gspawn: support creating pipes with O_CLOEXEC
authorRyan Lortie <desrt@desrt.ca>
Sat, 10 Nov 2012 18:16:29 +0000 (13:16 -0500)
committerColin Walters <walters@verbum.org>
Wed, 14 Nov 2012 19:12:15 +0000 (14:12 -0500)
commit2054ccad95cfdcf5eccd2ef6847c12039c9678e8
tree3de01627cae1c3e5c7849ff6285a85b07f0d4972
parent292de8cc5259eb66c40d9a74d85389650ef67747
gspawn: support creating pipes with O_CLOEXEC

Add a new flag, G_SPAWN_CLOEXEC_PIPES, for creating the stdin/out/err
pipes with O_CLOEXEC (for the usual reasons).

https://bugzilla.gnome.org/show_bug.cgi?id=672102
glib/gspawn.c
glib/gspawn.h