Skip to main content

Module process

Module process 

Source
Expand description

Shared classification of a child process’s exit status.

Cabin spawns external tools (formatters, linters, the C/C++ toolchain) and needs to report how they exited without leaking platform-specific ExitStatus details into its own error and report types. ExitStatusKind is that stable, serializable-free summary; exit_status_kind derives it once at the spawn site.

Enums§

ExitStatusKind
Stringified exit-status kind preserved so the orchestration layer can decide whether to display an exit code or a signal.

Functions§

exit_status_kind
Classify a finished std::process::ExitStatus into an ExitStatusKind, preferring the exit code and falling back to the terminating signal on Unix.