vban-cmd-python/scripts.py

23 lines
481 B
Python
Raw Normal View History

2022-11-07 20:26:06 +00:00
import subprocess
import sys
2022-11-07 20:26:06 +00:00
from pathlib import Path
def ex_gui():
scriptpath = Path.cwd() / "examples" / "gui" / "."
subprocess.run([sys.executable, str(scriptpath)])
2022-11-07 20:26:06 +00:00
def ex_obs():
scriptpath = Path.cwd() / "examples" / "obs" / "."
subprocess.run([sys.executable, str(scriptpath)])
2022-11-07 20:26:06 +00:00
def ex_observer():
scriptpath = Path.cwd() / "examples" / "observer" / "."
subprocess.run([sys.executable, str(scriptpath)])
def test():
subprocess.run(["tox"])