From ba32df8728b39ebb7475cd62f2f545ebd89fff37 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 4 Jul 2018 18:09:21 +0200 Subject: [PATCH] glib-2.0: Add Process.spawn_async_with_fds() --- vapi/glib-2.0.vapi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index e6a7c00a6..7c4d5e528 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3415,6 +3415,8 @@ namespace GLib { [CCode (lower_case_cprefix = "g_")] namespace Process { + [Version (since = "2.58")] + public static bool spawn_async_with_fds (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid = null, int stdin_fd = -1, int stdout_fd = -1, int stderr_fd = -1) throws SpawnError; public static bool spawn_async_with_pipes (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError; public static bool spawn_async (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid) throws SpawnError; public static bool spawn_sync (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError; -- 2.47.2