Skip to main content

run_command

Function run_command 

Source
pub fn run_command(cmd: Command, description: &str) -> Result<(), BenchError>
Available on crate feature builders only.
Expand description

Runs an externally configured command with consistent error handling.

This compatibility entry point intentionally retains the released Command::output behavior. Rust does not expose whether a Command used env_clear(), so reconstructing it as a ToolCommand could accidentally reintroduce ambient credentials. New internal builder call sites use the bounded supervisor directly.