pub trait CommandRunner: Send + Sync {
// Required method
fn run(&self, program: &str, args: &[String]) -> Result<CommandOutput>;
}Expand description
Runs a command line for a manager. The seam: replace it to observe or fake the OS tools.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".