2006-12-17 Matthias Clasen <mclasen@redhat.com>
+ * glib/gspawn.c: Refer to g_child_watch_add() in addition
+ to waitpid().
+
* glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
inline, and improve wording. (#372598, Behdad Esfahbod)
2006-12-17 Matthias Clasen <mclasen@redhat.com>
+ * glib/tmpl/spawn.sgml: Refer to g_child_watch_add() in addition
+ to waitpid().
+
* gobject/tmpl/objects.sgml: Expand GObject::notify
documentation. (#381722, Nickolay V. Shmyrev)
inherited by the child; otherwise all descriptors except stdin/stdout/stderr
will be closed before calling <function>exec()</function> in the child.
@G_SPAWN_DO_NOT_REAP_CHILD: the child will not be automatically reaped; you
- must call <function>waitpid()</function> or handle <literal>SIGCHLD</literal>
- yourself, or the child will become a zombie.
+ must use g_child_watch_add() yourself (or call <function>waitpid()</function>
+ or handle <literal>SIGCHLD</literal> yourself), or the child will become a zombie.
@G_SPAWN_SEARCH_PATH: <literal>argv[0]</literal> need not be an absolute path,
it will be looked for in the user's <envar>PATH</envar>.
@G_SPAWN_STDOUT_TO_DEV_NULL: the child's standad output will be discarded,
*
* If non-%NULL, @child_pid will on Unix be filled with the child's
* process ID. You can use the process ID to send signals to the
- * child, or to waitpid() if you specified the
+ * child, or to use g_child_watch_add() (or waitpid()) if you specified the
* %G_SPAWN_DO_NOT_REAP_CHILD flag. On Windows, @child_pid will be
* filled with a handle to the child process only if you specified the
* %G_SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child