summaryrefslogtreecommitdiff
path: root/gio/gio.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-05-17 14:37:17 -0400
committerRyan Lortie <desrt@desrt.ca>2013-07-17 13:57:38 -0400
commit76be747bb514ae88130084c835d55da1d0b8dab4 (patch)
treec75a1944437f2b9888cfae20c90143b97b88b984 /gio/gio.h
parent4d28749ab9b7cc8dfe8168278afde53f1e40ebcf (diff)
downloadglib-wip/latest-gsubprocess.tar.gz
GSubprocess: New class for spawning child processeswip/latest-gsubprocess
There are a number of nice things this class brings: 0) Has a race-free termination API on all platforms (on UNIX, calls to kill() and waitpid() are coordinated as not to cause problems). 1) Operates in terms of G{Input,Output}Stream, not file descriptors 2) Standard GIO-style async API for wait() with cancellation 3) Makes some simple cases easy, like synchronously spawning a process with an argument list 4) Makes hard cases possible, like asynchronously running a process with stdout/stderr merged, output directly to a file path Much rewriting and code review from Ryan Lortie <desrt@desrt.ca> https://bugzilla.gnome.org/show_bug.cgi?id=672102
Diffstat (limited to 'gio/gio.h')
-rw-r--r--gio/gio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gio.h b/gio/gio.h
index fadcd58a6..04a8770d9 100644
--- a/gio/gio.h
+++ b/gio/gio.h
@@ -126,6 +126,8 @@
#include <gio/gsrvtarget.h>
#include <gio/gsimpleproxyresolver.h>
#include <gio/gtask.h>
+#include <gio/gsubprocess.h>
+#include <gio/gsubprocesslauncher.h>
#include <gio/gtcpconnection.h>
#include <gio/gtcpwrapperconnection.h>
#include <gio/gtestdbus.h>