diff --git a/src/benchmark/executor.rs b/src/benchmark/executor.rs index 0ab5bbeb8..d0e748e6c 100644 --- a/src/benchmark/executor.rs +++ b/src/benchmark/executor.rs @@ -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());