aboutsummaryrefslogtreecommitdiff
path: root/em++
diff options
context:
space:
mode:
Diffstat (limited to 'em++')
-rwxr-xr-xem++4
1 files changed, 2 insertions, 2 deletions
diff --git a/em++ b/em++
index 5dd860f2..be2ed37b 100755
--- a/em++
+++ b/em++
@@ -4,9 +4,9 @@
See emcc.py. This script forwards to there, noting that we want C++ and not C by default
'''
-import os, sys
+import os, subprocess, sys
from tools import shared
os.environ['EMMAKEN_CXX'] = '1'
-exit(os.execvp(shared.EMCC, [shared.EMCC] + sys.argv[1:]))
+exit(subprocess.call(['python', shared.EMCC] + sys.argv[1:]))