mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-15 17:40:57 +00:00
now using sys.executable, fixes issue with pyenv-win
This commit is contained in:
parent
c2cf2fe523
commit
5eeaff2371
@ -1,10 +1,11 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
def ex_obs():
|
def ex_obs():
|
||||||
path = Path.cwd() / "examples" / "xair_obs" / "."
|
path = Path.cwd() / "examples" / "xair_obs" / "."
|
||||||
subprocess.run(["py", str(path)])
|
subprocess.run([sys.executable, str(path)])
|
||||||
|
|
||||||
|
|
||||||
def test_xair():
|
def test_xair():
|
||||||
|
Loading…
Reference in New Issue
Block a user