[vala] glib-2.0: add Process.check_exit_status binding
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: add Process.check_exit_status binding
- Date: Thu, 1 Nov 2012 21:36:33 +0000 (UTC)
commit efcd0c326f270454f1ea9f942d4eaa2af5e1878f
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Nov 1 14:35:54 2012 -0700
glib-2.0: add Process.check_exit_status binding
vapi/glib-2.0.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 9f473a9..312866c 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]