From bdccc10a61d65b0d1e59e98bf95a0ca50edc2d76 Mon Sep 17 00:00:00 2001 From: Ta Thanh Dinh Date: Sun, 26 Aug 2018 00:16:13 +0200 Subject: [PATCH] change windows cmd interpreter --- src/hyperfine/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())