From 5eeaff237144ccbaf89ada66ff1d5f4109548a19 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 8 Feb 2024 13:46:26 +0000 Subject: [PATCH] now using sys.executable, fixes issue with pyenv-win --- scripts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts.py b/scripts.py index 819aabc..faa0c1e 100644 --- a/scripts.py +++ b/scripts.py @@ -1,10 +1,11 @@ import subprocess +import sys from pathlib import Path def ex_obs(): path = Path.cwd() / "examples" / "xair_obs" / "." - subprocess.run(["py", str(path)]) + subprocess.run([sys.executable, str(path)]) def test_xair():