pub trait CommandExecutor: Send + Sync {
// Required method
fn execute(&self, invocation: &CommandInvocation) -> Result<CommandOutput>;
}Expand description
Trait implemented by concrete command execution strategies.
Required Methods§
fn execute(&self, invocation: &CommandInvocation) -> Result<CommandOutput>
Implementors§
impl CommandExecutor for ProcessCommandExecutor
Available on crate feature
std-process only.