From f38b438c965a8cfc84bc62086f0cec6637aa6f1f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 31 May 2014 10:38:47 -0400 Subject: [PATCH] docs: Fill in the gspawn long description --- glib/gspawn.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. */ -- 2.7.4