From aad87ab1b6ef536837b7ce7a612dfc0ad422114b 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. --- methods.py | 1 + 1 file changed, 1 insertion(+) diff --git a/methods.py b/methods.py index 8c99794d7a15..c28ed55ddaa6 100755 --- a/methods.py +++ b/methods.py @@ -1379,6 +1379,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)) :