Companion

object Companion

Properties

Link copied to clipboard

spawned processes will inherit the file descriptors of their parent, unless those descriptors have been explicitly marked as close-on-exec. This flag has no effect over the "standard" file descriptors (stdin, stdout, stderr).

Link copied to clipboard

No flags.

Link copied to clipboard

if path searching is needed when spawning the subprocess, use the PATH in the launcher environment. (Since: 2.72)

Link copied to clipboard

merge the stderr of the spawned process with whatever the stdout happens to be. This is a good way of directing both streams to a common log file, for example.

Link copied to clipboard

create a pipe for the stderr of the spawned process that can be accessed with g_subprocess_get_stderr_pipe().

Link copied to clipboard

silence the stderr of the spawned process (ie: redirect to /dev/null).

Link copied to clipboard

stdin is inherited from the calling process.

Link copied to clipboard

create a pipe for the stdin of the spawned process that can be accessed with g_subprocess_get_stdin_pipe().

Link copied to clipboard

create a pipe for the stdout of the spawned process that can be accessed with g_subprocess_get_stdout_pipe().

Link copied to clipboard

silence the stdout of the spawned process (ie: redirect to /dev/null).