[glib] docs: Fill in the gspawn long description
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] docs: Fill in the gspawn long description
- Date: Sat, 31 May 2014 14:54:46 +0000 (UTC)
commit f38b438c965a8cfc84bc62086f0cec6637aa6f1f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 31 10:38:47 2014 -0400
docs: Fill in the gspawn long description
glib/gspawn.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/glib/gspawn.c b/glib/gspawn.c
index 58f8172..3cd43a4 100644
--- a/glib/gspawn.c
+++ b/glib/gspawn.c
@@ -59,6 +59,17 @@
* SECTION:spawn
* @Short_description: process launching
* @Title: Spawning Processes
+ *
+ * GLib supports spawning of processes with an API that is more
+ * convenient than the bare UNIX fork() and exec().
+ *
+ * The g_spawn family of functions has synchronous (g_spawn_sync())
+ * and asynchronous variants (g_spawn_async(), g_spawn_async_with_pipes()),
+ * as well as convenience variants that take a complete shell-like
+ * commandline (g_spawn_command_line_sync(), g_spawn_command_line_async()).
+ *
+ * See #GSubprocess in GIO for a higher-level API that provides
+ * stream interfaces for communication with child processes.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]