Skip to content
Myr

Fix windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Duerr · committed by David Peter · parent 4be4354 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hyperfine/shell.rs+1 added-1 removed
60 unmodified lines
61}6263/// Run a Windows shell command using cmd.exe64#[cfg(windows)]65fn run_shell_command(print_stdout: bool, command: &str) -> io::Result<std::process::Child> {65fn run_shell_command(stdout: Stdio, command: &str) -> io::Result<std::process::Child> {66 Command::new("cmd")67 .arg("/C")68 .arg(command)69 .stdin(Stdio::null())
4 unmodified lines