From 99ec5265e2e80ecca1252670657c50693da5254a Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 23 Jul 2019 21:00:32 -0400 Subject: Fixed issue where run_pyscript failed if the script's filename had a space --- tests/pyscript/run.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/pyscript/run.py (limited to 'tests/pyscript/run.py') diff --git a/tests/pyscript/run.py b/tests/pyscript/run.py new file mode 100644 index 00000000..47250a10 --- /dev/null +++ b/tests/pyscript/run.py @@ -0,0 +1,6 @@ +# flake8: noqa F821 +import os + +app.cmd_echo = True +my_dir = (os.path.dirname(os.path.realpath(sys.argv[0]))) +run(os.path.join(my_dir, 'to_run.py')) -- cgit v1.2.1