SubprocessLauncher
This class contains a set of options for launching child processes, such as where its standard input and output will be directed, the argument list, the environment, and more.
While the class@Gio.Subprocess class has high level functions covering popular cases, use of this class allows access to more advanced options. It can also be used to launch multiple subprocesses with a similar configuration.
Skipped during bindings generation
method
spawn
: Varargs parameter is not supportedmethod
flags
: Property has no getter nor setter
Since
2.40
Constructors
Functions
Sets up a child setup function.
Replace the entire environment of processes launched from this launcher with the given 'environ' variable.
Sets the flags on the launcher.
Sets the file path to use as the stderr for spawned processes.
Sets the file path to use as the stdin for spawned processes.
Sets the file path to use as the stdout for spawned processes.
Creates a #GSubprocess given a provided array of arguments.
Transfer an arbitrary file descriptor from parent process to the child. This function takes ownership of the @source_fd; it will be closed in the parent when @self is freed.
Sets the file descriptor to use as the stderr for spawned processes.
Sets the file descriptor to use as the stdin for spawned processes.
Sets the file descriptor to use as the stdout for spawned processes.