diff --git a/src/hyperfine/shell.rs b/src/hyperfine/shell.rs index 0b4effb..4545e72 100644 --- a/src/hyperfine/shell.rs +++ b/src/hyperfine/shell.rs @@ -17,6 +17,7 @@ pub fn run_shell_command(command: &str) -> io::Result { #[cfg(target_os = "windows")] pub fn run_shell_command(command: &str) -> io::Result { Command::new("cmd") + .arg("/C") .arg(command) .stdin(Stdio::null()) .stdout(Stdio::null())