]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add Process.spawn_async_with_fds() ba32df8728b39ebb7475cd62f2f545ebd89fff37
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 4 Jul 2018 16:09:21 +0000 (18:09 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 4 Jul 2018 16:09:21 +0000 (18:09 +0200)
vapi/glib-2.0.vapi

index e6a7c00a6d375e8c8592ea8791925b6f7ec8e0bb..7c4d5e528ceb5c81ebc5959837341952dabc6be4 100644 (file)
@@ -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;