Package ch.bailu.gtk.gio
Interface SubprocessFlags
public interface SubprocessFlags
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
spawned processes will inherit the
file descriptors of their parent, unless those descriptors have
been explicitly marked as close-on-exec.static final int
No flags.static final int
if path searching is
needed when spawning the subprocess, use the `PATH` in the launcher
environment.static final int
merge the stderr of the spawned
process with whatever the stdout happens to be.static final int
create a pipe for the stderr of the
spawned process that can be accessed with
g_subprocess_get_stderr_pipe().static final int
silence the stderr of the spawned
process (ie: redirect to `/dev/null`).static final int
stdin is inherited from the
calling process.static final int
create a pipe for the stdin of the
spawned process that can be accessed with
g_subprocess_get_stdin_pipe().static final int
create a pipe for the stdout of the
spawned process that can be accessed with
g_subprocess_get_stdout_pipe().static final int
silence the stdout of the spawned
process (ie: redirect to `/dev/null`).
-
Field Details
-
NONE
static final int NONENo flags.- See Also:
-
STDIN_PIPE
static final int STDIN_PIPEcreate a pipe for the stdin of the
spawned process that can be accessed with
g_subprocess_get_stdin_pipe().- See Also:
-
STDIN_INHERIT
static final int STDIN_INHERITstdin is inherited from the
calling process.- See Also:
-
STDOUT_PIPE
static final int STDOUT_PIPEcreate a pipe for the stdout of the
spawned process that can be accessed with
g_subprocess_get_stdout_pipe().- See Also:
-
STDOUT_SILENCE
static final int STDOUT_SILENCEsilence the stdout of the spawned
process (ie: redirect to `/dev/null`).- See Also:
-
STDERR_PIPE
static final int STDERR_PIPEcreate a pipe for the stderr of the
spawned process that can be accessed with
g_subprocess_get_stderr_pipe().- See Also:
-
STDERR_SILENCE
static final int STDERR_SILENCEsilence the stderr of the spawned
process (ie: redirect to `/dev/null`).- See Also:
-
STDERR_MERGE
static final int STDERR_MERGEmerge 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.- See Also:
-
INHERIT_FDS
static final int INHERIT_FDSspawned 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).- See Also:
-
SEARCH_PATH_FROM_ENVP
static final int SEARCH_PATH_FROM_ENVPif path searching is
needed when spawning the subprocess, use the `PATH` in the launcher
environment. (Since: 2.72)- See Also:
-