The redirect flags are used to determine whether stdout, stderr, or
stdin are redirected. The flags are an or'd combination of which
standard handles to redirect. A redirected handle creates a pipe,
whereas a non-redirected handle simply points to the same handle this
process is pointing to.
You can also redirect stdout or stderr to each other. The flags to
redirect a handle to a pipe and to redirect it to another handle are
mutually exclusive. In the case both are specified, the redirect to
the other handle takes precedent. It is illegal to specify both
redirection from stdout to stderr and from stderr to stdout. If both
of these are specified, an exception is thrown.
If redirected to a pipe, once the process is executed successfully, its
input and output can be manipulated through the stdin, stdout and
stderr member PipeConduit's. Note that if you redirect for example
stderr to stdout, and you redirect stdout to a pipe, only stdout will
be non-null.
Get the redirect flags for the process.
The redirect flags are used to determine whether stdout, stderr, or stdin are redirected. The flags are an or'd combination of which standard handles to redirect. A redirected handle creates a pipe, whereas a non-redirected handle simply points to the same handle this process is pointing to.
You can also redirect stdout or stderr to each other. The flags to redirect a handle to a pipe and to redirect it to another handle are mutually exclusive. In the case both are specified, the redirect to the other handle takes precedent. It is illegal to specify both redirection from stdout to stderr and from stderr to stdout. If both of these are specified, an exception is thrown.
If redirected to a pipe, once the process is executed successfully, its input and output can be manipulated through the stdin, stdout and stderr member PipeConduit's. Note that if you redirect for example stderr to stdout, and you redirect stdout to a pipe, only stdout will be non-null.