Enum
exposed enum Exit { Code(i32), Signal(i32), }
How a child process ended: exit with a status, or a signal.
exit
method
fn success(self) -> bool { ... }
Whether the child exited with status 0.