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.py4
1 files changed, 4 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..1efa102ef5
--- /dev/null
+++ b/python/mach/mach/test/invoke_mach_command.py
@@ -0,0 +1,4 @@
+import subprocess
+import sys
+
+subprocess.check_call([sys.executable] + sys.argv[1:])