Terminal.StderrBehavior

Options for stderrBehavior. Only applied if pipeThroughStdOut is set to true and its redirection actually is performed.

Values

ValueMeaning
sendToWindowIfNotAlreadyRedirected

If stderr does not exist or is pointing at a parent terminal, change it to point at the window alongside stdout (if stdout is changed by pipeThroughStdOut).

neverSendToWindow

Tell this library to never redirect stderr. It will leave it alone.

alwaysSendToWindow

Always redirect stderr to the window through stdout if pipeThroughStdOut is set, even if it has already been redirected by the shell or code previously in your program.

Suggestion Box / Bug Report