summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-09-10 12:08:04 -0300
committerGeorge Marques <george@gmarqu.es>2016-09-10 12:08:04 -0300
commitaad87ab1b6ef536837b7ce7a612dfc0ad422114b (patch)
treec6d70252da3312aa9c68b9eabefa77003be11338
parentc5b738511029ab27746b1ae34cfaaf056dc5902b (diff)
Fix the Windows environment in SCons spawn function
Properly fix #2974 as discussed there.
-rwxr-xr-xmethods.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods.py b/methods.py
index 8c99794d7a..c28ed55dda 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)) :