gspawn: support creating pipes with O_CLOEXEC
authorRyan Lortie <desrt@desrt.ca>
Sat, 10 Nov 2012 18:16:29 +0000 (13:16 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 17 Oct 2013 18:32:41 +0000 (14:32 -0400)
commite30bbca6679605487e52e52f810c54a0464b6d37
tree1f8f96e1881ca05a9470d547484843d689451570
parentc515c3ed111a721047d014832c2fc24bd1adb4a0
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).
glib/gspawn.c
glib/gspawn.h