diff --git a/test/pyrun.py b/test/pyrun.py new file mode 100644 index 00000000..e033069e --- /dev/null +++ b/test/pyrun.py @@ -0,0 +1,7 @@ +import sys + +pythonpath = sys.argv[1] +scriptfile = sys.argv[2] +sys.argv = sys.argv[2:] +sys.path.append(pythonpath) +execfile(scriptfile)