diff --git a/spec/std/process_spec.cr b/spec/std/process_spec.cr index 8347804cadc5..965ed1431cf4 100644 --- a/spec/std/process_spec.cr +++ b/spec/std/process_spec.cr @@ -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 %}