[glib] gsubprocess: Add documentation about default input directions



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]