The binary's process.stdout error listener, registered before any command can write. A closed
pipe (| head, a pager that quits, source <(cotal completion script bash)) exits as SIGPIPE
would, with 0 unless the command already set its exit status. Any other error, such as ENOSPC on
a full disk, lost output the caller asked for: it is reported in one line and exits 3, or with the
non-zero status the command already set, never as a stack trace. Neither happens while a command
owns stdout's errors through ownStdoutErrors: that command ends its own work, such as
closing a session, and sets the exit status.
The binary's process.stdout error listener, registered before any command can write. A closed pipe (
| head, a pager that quits,source <(cotal completion script bash)) exits as SIGPIPE would, with 0 unless the command already set its exit status. Any other error, such as ENOSPC on a full disk, lost output the caller asked for: it is reported in one line and exits 3, or with the non-zero status the command already set, never as a stack trace. Neither happens while a command owns stdout's errors through ownStdoutErrors: that command ends its own work, such as closing a session, and sets the exit status.