Gio.SubprocessLauncher
const Gio = imports.gi.Gio;
let subprocessLauncher = new Gio.SubprocessLauncher({
flags: value,
});
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 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.
Since 2.36
Hierarchy
-
GObject.Object
- Gio.SubprocessLauncher
Constructors
Methods
- Gio.SubprocessLauncher.prototype.getenv
- Gio.SubprocessLauncher.prototype.set_child_setup
- Gio.SubprocessLauncher.prototype.set_cwd
- Gio.SubprocessLauncher.prototype.set_environ
- Gio.SubprocessLauncher.prototype.set_flags
- Gio.SubprocessLauncher.prototype.set_stderr_file_path
- Gio.SubprocessLauncher.prototype.set_stdin_file_path
- Gio.SubprocessLauncher.prototype.set_stdout_file_path
- Gio.SubprocessLauncher.prototype.setenv
- Gio.SubprocessLauncher.prototype.spawnv
- Gio.SubprocessLauncher.prototype.take_fd
- Gio.SubprocessLauncher.prototype.take_stderr_fd
- Gio.SubprocessLauncher.prototype.take_stdin_fd
- Gio.SubprocessLauncher.prototype.take_stdout_fd
- Gio.SubprocessLauncher.prototype.unsetenv