diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-03-26 21:15:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 21:15:17 +0200 |
commit | 4a5723f59e0437dc9f83f7116b8fddd12e15c5d0 (patch) | |
tree | 4b564c7e2244d8ea9131a94bbb9f10c1b7c7d05a /methods.py | |
parent | 928cdb4f8a72c2de5751cddd3205c2a3c09e6f6d (diff) | |
parent | d8d9eea72252e5b667537261ea40fec18cf1f809 (diff) |
Merge pull request #17760 from eska014/html5-refactor
Refactor HTML5 platform build script
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/methods.py b/methods.py index 6f03f79be3..792417866e 100644 --- a/methods.py +++ b/methods.py @@ -781,13 +781,10 @@ def use_windows_spawn_fix(self, platform=None): import subprocess def mySubProcess(cmdline, env): - prefix = "" - if(platform == 'javascript'): - prefix = "python.exe " startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW - proc = subprocess.Popen(prefix + cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, + proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo, shell=False, env=env) data, err = proc.communicate() rv = proc.wait() |