aboutsummaryrefslogtreecommitdiff
path: root/tools/emmakenxx.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/emmakenxx.py')
-rwxr-xr-xtools/emmakenxx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/emmakenxx.py b/tools/emmakenxx.py
index c9ab4ef4..1c31f3c2 100755
--- a/tools/emmakenxx.py
+++ b/tools/emmakenxx.py
@@ -4,7 +4,7 @@
see emmaken.py
'''
-import os, sys
+import os, subprocess, sys
__rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def path_from_root(*pathelems):
@@ -14,5 +14,5 @@ from tools.shared import *
emmaken = path_from_root('tools', 'emmaken.py')
os.environ['EMMAKEN_CXX'] = '1'
-exit(os.execvp('python', ['python', emmaken] + sys.argv[1:]))
+exit(subprocess.call(['python', emmaken] + sys.argv[1:]))