diff options
Diffstat (limited to 'libs/python/test/pyrun.py')
-rw-r--r-- | libs/python/test/pyrun.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/python/test/pyrun.py b/libs/python/test/pyrun.py new file mode 100644 index 000000000..e033069eb --- /dev/null +++ b/libs/python/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) |