]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add Process.check_exit_status binding
authorEvan Nemerson <evan@coeus-group.com>
Thu, 1 Nov 2012 21:35:54 +0000 (14:35 -0700)
committerJürg Billeter <j@bitron.ch>
Sun, 11 Nov 2012 13:05:16 +0000 (14:05 +0100)
vapi/glib-2.0.vapi

index aacf46342568c759e20752a363139e8d5a16b289..470971a07eab9357942dc2291f6d996f740b61f7 100644 (file)
@@ -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")]