Trait CommandRunner

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

Required Methods§

Source

fn execute<'a>( &self, program: &str, args: &[&'a str], ) -> Result<CmdOutput, Box<dyn Error>>

Implementors§