pub fn classify_exit(success: bool, code: Option<i32>) -> EditorRunOutcomeExpand description
Classify an editor subprocess’s exit. code == None means it ended without
an exit code (a signal kill). A pure function so both arms are unit-testable
on every platform, independent of whether a real process can produce a
code-less status there.