[glib] gsubprocess: Add documentation about default input directions
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsubprocess: Add documentation about default input directions
- Date: Sun, 27 Oct 2013 20:03:14 +0000 (UTC)
commit 13067362d2539f47624e4fb38589bf5281dd3276
Author: Colin Walters <walters verbum org>
Date: Sun Oct 27 10:34:08 2013 -0400
gsubprocess: Add documentation about default input directions
gio/gsubprocess.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c
index a531aa4..43631d6 100644
--- a/gio/gsubprocess.c
+++ b/gio/gsubprocess.c
@@ -638,7 +638,11 @@ g_subprocess_class_init (GSubprocessClass *class)
* @argv0: first commandline argument to pass to the subprocess,
* followed by more arguments, followed by %NULL
*
- * Create a new process with the given flags and varargs argument list.
+ * Create a new process with the given flags and varargs argument
+ * list. By default, matching the g_spawn_async() defaults, the
+ * child's stdin will be set to the system null device, and
+ * stdout/stderr will be inherited from the parent. You can use
+ * @flags to control this behavior.
*
* The argument list must be terminated with %NULL.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]