mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 17:00:18 +00:00
cfg: adding more pre-processing for windows-only parser
This commit is contained in:
1 parent
c2f99e5f94
commit
ae9b0bbdfd
1 file changed
+1
@@ -141,6 +141,7 @@ impl<'a> Executor for ShellExecutor<'a> {
|
|||||||
|
|
||||||
// Windows needs special treatment for its behavior on parsing cmd arguments
|
// Windows needs special treatment for its behavior on parsing cmd arguments
|
||||||
if on_windows_cmd {
|
if on_windows_cmd {
|
||||||
|
#[cfg(windows)]
|
||||||
command_builder.raw_arg(command.get_command_line());
|
command_builder.raw_arg(command.get_command_line());
|
||||||
} else {
|
} else {
|
||||||
command_builder.arg(command.get_command_line());
|
command_builder.arg(command.get_command_line());
|
||||||
|
|||||||
Reference in new issue
Block a user