spawn_async
Description:
[ Version ( since = "0.48" ) ]
public async bool spawn_async (string? working_directory, string[] argv, string[]? envv, SpawnFlags spawn_flags, owned SpawnChildSetupFunc? child_setup, int timeout, Cancellable? cancellable, out Pid child_pid) throws Error
public async bool spawn_async (string? working_directory, string[] argv, string[]? envv, SpawnFlags spawn_flags, owned SpawnChildSetupFunc? child_setup, int timeout, Cancellable? cancellable, out Pid child_pid) throws Error
Like spawn_with_fds_async, except that this function does not allow passing file descriptors to the child process.
See spawn_with_fds_async for more information.
Parameters:
| this |
a Pty |
| working_directory |
the name of a directory the command should start in, or |
| argv |
child's argument vector |
| envv |
a list of environment variables to be added to the environment before starting the process, or |
| spawn_flags |
flags from SpawnFlags |
| child_setup |
an extra child setup function to run in the child just before |
| timeout |
a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely |
| cancellable |
a Cancellable, or |
| callback |
a TaskReadyCallback, or |
| child_setup_data |
user data for |
| child_setup_data_destroy |
a DestroyNotify for |
| user_data |
user data for |