From: Evan Nemerson Date: Thu, 1 Nov 2012 21:35:54 +0000 (-0700) Subject: glib-2.0: add Process.check_exit_status binding X-Git-Tag: 0.18.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adfe4ae9e6835943d803bc6e75a28be9474a8c0f;p=thirdparty%2Fvala.git glib-2.0: add Process.check_exit_status binding --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index aacf46342..470971a07 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2873,6 +2873,8 @@ namespace GLib { public static bool spawn_command_line_sync (string command_line, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError; [CCode (cname = "g_spawn_close_pid")] public static void close_pid (Pid pid); + [CCode (cname = "g_spawn_check_exit_status")] + public static bool check_exit_status (int exit_status) throws GLib.Error; /* these macros are required to examine the exit status of a process */ [CCode (cname = "WIFEXITED", cheader_filename = "sys/wait.h")]