diff --git a/src/hyperfine/shell.rs b/src/hyperfine/shell.rs index ddc60b2..7389968 100644 --- a/src/hyperfine/shell.rs +++ b/src/hyperfine/shell.rs @@ -71,7 +71,7 @@ fn run_shell_command( stderr: Stdio, command: &str, ) -> io::Result { - Command::new("cmd") + Command::new("cmd.exe") .arg("/C") .arg(command) .stdin(Stdio::null())