`osproc.peekExitCode` does what you need.
- Equivalent to Rust's Command spawn/try_wait? fosilpro
- Equivalent to Rust's Command spawn/try_wait? termer
- Equivalent to Rust's Command spawn/try_wait? fosilpro
- Equivalent to Rust's Command spawn/try_wait? termer
- Equivalent to Rust's Command spawn/try_wait? Araq
