summaryrefslogtreecommitdiffstats
path: root/python/mach/mach/test/invoke_mach_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mach/mach/test/invoke_mach_command.py')
-rw-r--r--python/mach/mach/test/invoke_mach_command.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/mach/mach/test/invoke_mach_command.py b/python/mach/mach/test/invoke_mach_command.py
new file mode 100644
index 0000000000..014010fb33
--- /dev/null
+++ b/python/mach/mach/test/invoke_mach_command.py
@@ -0,0 +1,5 @@
+from __future__ import absolute_import
+import subprocess
+import sys
+
+subprocess.check_call([sys.executable] + sys.argv[1:])