[OS]ProcessResultWhat a one-shot [OS]Process.run: answers: the child's complete output and how it ended. stdout/stderr decode as UTF-8 (use the …Bytes getters for binary output); ok? is exit code 0, and check turns failure into a typed ProcessError whose payload is this result.
Internal: wrap the raw result Map primRun:… answers.
Require success: answers self when the exit code is 0, otherwise throws a ProcessError naming the program and how it ended, with this result as the payload — the Rust-status.success() / Python-check=True idiom.
([OS]Process.run:#( 'true' )).check.ok? "* -> true
The command that ran (as given to run:).
The exit code — nil when a signal ended the child (signal says which).
Whether the child exited 0.
The inspect string: the program and how it ended.
The signal that ended the child, or nil for a normal exit.
The child's standard error, decoded as UTF-8.
The raw standard error.
The child's standard output, decoded as UTF-8.
The raw standard output (for binary-producing children).