mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-31 08:40:18 +00:00
Fix windows
This commit is contained in:
1 parent
4be435436e
commit
e53726d3f7
1 file changed
+1
-1
@@ -62,7 +62,7 @@ fn run_shell_command(stdout: Stdio, command: &str) -> io::Result<std::process::E
|
||||
|
||||
/// Run a Windows shell command using cmd.exe
|
||||
#[cfg(windows)]
|
||||
fn run_shell_command(print_stdout: bool, command: &str) -> io::Result<std::process::Child> {
|
||||
fn run_shell_command(stdout: Stdio, command: &str) -> io::Result<std::process::Child> {
|
||||
Command::new("cmd")
|
||||
.arg("/C")
|
||||
.arg(command)
|
||||
|
||||
Reference in new issue
Block a user