gspawn: Use fcntl() to work around systems which don’t support O_CLOEXEC4afe429d7ce4d813e0b263fd3eab9e543f11d2a6242/head
commit4afe429d7ce4d813e0b263fd3eab9e543f11d2a6
authorPhilip Withnall <withnall@endlessm.com>
Sat, 11 Aug 2018 20:52:17 +0000 (11 21:52 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Sat, 11 Aug 2018 20:52:17 +0000 (11 21:52 +0100)
tree173f9373f2e3333673bc2d108fcef2c599f7f593
parentcce309aebb64b44cf3ec2fd1bd317c85802f030d
gspawn: Use fcntl() to work around systems which don’t support O_CLOEXEC

Somehow, we are still limping along with partial support for OS X
<10.7.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/1488
glib/gspawn.c