Skip to content

Commit

Permalink
Fix the Windows environment in SCons spawn function
Browse files Browse the repository at this point in the history
Properly fix godotengine#2974 as discussed there.
  • Loading branch information
vnen committed Sep 10, 2016
1 parent c5b7385 commit aad87ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,7 @@ def mySpawn(sh, escape, cmd, args, env):
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)) :
Expand Down

0 comments on commit aad87ab

Please sign in to comment.