pub trait CommandRunner: Send + Sync {
// Required method
fn run(
&self,
executable: &str,
arguments: &[String],
) -> Result<CommandOutput>;
}Expand description
Abstraction over process execution.
FilesystemDataStore uses this to run commands in
run_and_record. Tests can provide a
mock that records calls without spawning processes.