pub trait CommandRunner {
// Required method
fn execute<'a>(
&self,
program: &str,
args: &[&'a str],
) -> Result<CmdOutput, Box<dyn Error>>;
}
pub trait CommandRunner {
// Required method
fn execute<'a>(
&self,
program: &str,
args: &[&'a str],
) -> Result<CmdOutput, Box<dyn Error>>;
}