Skip to content

Commit

Permalink
cfg: adding more pre-processing for windows-only parser
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroWitzel authored and sharkdp committed Oct 5, 2023
1 parent c2f99e5 commit ae9b0bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/benchmark/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl<'a> Executor for ShellExecutor<'a> {

// Windows needs special treatment for its behavior on parsing cmd arguments
if on_windows_cmd {
#[cfg(windows)]
command_builder.raw_arg(command.get_command_line());
} else {
command_builder.arg(command.get_command_line());
Expand Down

0 comments on commit ae9b0bb

Please sign in to comment.