//! Run a command and capture its output two ways.
//!
//! - `run()` requires a zero exit and returns stdout as a trimmed `String`.
//! - `output_string()` treats the exit code as *data* — a non-zero exit is in
//! the [`ProcessResult`], not an error.
//!
//! Run with: `cargo run --example run_and_capture`
use Command;
async