From ee23649813f0d79b4984a8f1947a9ed021dae843 Mon Sep 17 00:00:00 2001 From: George Marques Date: Sat, 10 Sep 2016 12:08:04 -0300 Subject: [PATCH] Fix the Windows environment in SCons spawn function Properly fix #2974 as discussed there. (cherry picked from commit aad87ab1b6ef536837b7ce7a612dfc0ad422114b) --- methods.py | 1 + 1 file changed, 1 insertion(+) diff --git a/methods.py b/methods.py index 74c282b8cf6..c5a22a17e83 100755 --- a/methods.py +++ b/methods.py @@ -1377,6 +1377,7 @@ def use_windows_spawn_fix(self, platform=None): cmdline = cmd + " " + newargs rv=0 + env = {str(key): str(value) for key, value in env.iteritems()} if len(cmdline) > 32000 and cmd.endswith("ar") : cmdline = cmd + " " + args[1] + " " + args[2] + " " for i in range(3,len(args)) :