Skip to content

Stderr

Handle for the process's standard error, obtained as shell.stderr.

Stateless and interchangeable, as Stdout is.

Unlike term.console, this bypasses extensions that have taken over the terminal shell-wide — it is the error stream itself.

Methods

write data

Writes bytes verbatim and reports how many were written. Identical in behavior to Stdout.write.

shell.stderr.write "fatal: no such target\n"

flush()

Flushes buffered output to the stream.

Operators

Sink

Stderr is a sink. Values put into it are framed per the ambient I/O mode, as with Stdout.