pub trait CommandRunner: Send + Sync {
// Required methods
fn run_capture(
&self,
program: &str,
args: &[String],
) -> Result<CommandOutput>;
fn run_capture_with_input(
&self,
program: &str,
args: &[String],
input: &str,
) -> Result<CommandOutput>;
fn run_inherit(
&self,
program: &str,
args: &[String],
) -> Result<CommandStatus>;
}