Skip to content

Commit

Permalink
Make cmd.exe drop %PROCESSOR_ARCHITECTURE% in Process specs
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Nov 5, 2024
1 parent 563d6d2 commit 16f5440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/std/process_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end
private def print_env_command
{% if flag?(:win32) %}
# cmd adds these by itself, clear them out before printing.
shell_command("set COMSPEC=& set PATHEXT=& set PROMPT=& set")
shell_command("set COMSPEC=& set PATHEXT=& set PROMPT=& set PROCESSOR_ARCHITECTURE=& set")
{% else %}
{"env", [] of String}
{% end %}
Expand Down

0 comments on commit 16f5440

Please sign in to comment.