diff --git a/scripts.py b/scripts.py index 0052ebb..13748b3 100644 --- a/scripts.py +++ b/scripts.py @@ -1,7 +1,8 @@ import subprocess +import sys from pathlib import Path def ex_debug(): - path = Path.cwd() / "examples" / "debug" / "." - subprocess.run(["py", str(path)]) + scriptpath = Path.cwd() / "examples" / "debug" / "." + subprocess.run([sys.executable, str(scriptpath)])