Do handle G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If
authorTor Lillqvist <tml@iki.fi>
Mon, 18 Nov 2002 09:58:39 +0000 (09:58 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 18 Nov 2002 09:58:39 +0000 (09:58 +0000)
commita79b8073aae24c2d6b191fb3bb5ba5506d3bd8b0
tree3b364f2f3d876bdaba3c32aa40258489a2df3dd3
parent0b4bcbe1d99cab74bb5d596f2d57bf80c77144fb
Do handle G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If

2002-11-18  Tor Lillqvist  <tml@iki.fi>

* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
flag is not set, don't call DuplicateHandle() on the handle
returned by the helper process, and set the "child pid" returned
to the caller to zero. Close the handle to the helper process in
all cases.

* glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gspawn-win32.c
glib/gspawn.c