pub trait Runner: Send + Sync {
// Required method
fn run(&self, cmd: &str, args: &[&str]) -> Result<RunOutcome, Error>;
}Expand description
Abstraction over process execution so tests can verify behaviour without invoking real system commands.