aboutsummaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
authorGeorge Marques2016-09-10 12:08:04 -0300
committerRémi Verschelde2016-09-18 23:15:56 +0200
commitee23649813f0d79b4984a8f1947a9ed021dae843 (patch)
treecd9fca52479e18a8cad3295d15a45ec23a15f4c2 /methods.py
parent75f51aece98667250a486b18797f470604c45a28 (diff)
downloadgodot-ee23649813f0d79b4984a8f1947a9ed021dae843.tar.gz
godot-ee23649813f0d79b4984a8f1947a9ed021dae843.tar.zst
godot-ee23649813f0d79b4984a8f1947a9ed021dae843.zip
Fix the Windows environment in SCons spawn function
Properly fix #2974 as discussed there. (cherry picked from commit aad87ab1b6ef536837b7ce7a612dfc0ad422114b)
Diffstat (limited to 'methods.py')
-rwxr-xr-xmethods.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods.py b/methods.py
index 74c282b8c..c5a22a17e 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)) :