The OpenD Programming Language

Redirect

Flags that can be passed to pipeProcess and pipeShell to specify which of the child process' standard streams are redirected. Use bitwise OR to combine flags.

Values

ValueMeaning
stdin1

Redirect the standard input, output or error streams, respectively.

stdout2

ditto

stderr4

ditto

allstdin | stdout | stderr

Redirect _all three streams. This is equivalent to Redirect.stdin | Redirect.stdout | Redirect.stderr.

stderrToStdout8

Redirect the standard error stream into the standard output stream. This can not be combined with Redirect.stderr.

stdoutToStderr16

Redirect the standard output stream into the standard error stream. This can not be combined with Redirect.stdout.

Meta