summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-26 21:15:17 +0200
committerGitHub <noreply@github.com>2018-03-26 21:15:17 +0200
commit4a5723f59e0437dc9f83f7116b8fddd12e15c5d0 (patch)
tree4b564c7e2244d8ea9131a94bbb9f10c1b7c7d05a /methods.py
parent928cdb4f8a72c2de5751cddd3205c2a3c09e6f6d (diff)
parentd8d9eea72252e5b667537261ea40fec18cf1f809 (diff)
Merge pull request #17760 from eska014/html5-refactor
Refactor HTML5 platform build script
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py5
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()