voicemeeter-api-python/scripts.py

43 lines
995 B
Python
Raw Normal View History

2022-11-07 20:21:50 +00:00
import subprocess
import sys
2022-11-07 20:21:50 +00:00
from pathlib import Path
def ex_dsl():
scriptpath = Path.cwd() / "examples" / "dsl" / "."
subprocess.run([sys.executable, str(scriptpath)])
2022-11-07 20:21:50 +00:00
2023-06-23 18:18:01 +01:00
def ex_events():
scriptpath = Path.cwd() / "examples" / "events" / "."
subprocess.run([sys.executable, str(scriptpath)])
2023-06-23 18:18:01 +01:00
2023-06-24 23:30:35 +01:00
def ex_gui():
scriptpath = Path.cwd() / "examples" / "gui" / "."
subprocess.run([sys.executable, str(scriptpath)])
2023-06-24 23:30:35 +01:00
2023-06-23 18:18:01 +01:00
def ex_levels():
scriptpath = Path.cwd() / "examples" / "levels" / "."
subprocess.run([sys.executable, str(scriptpath)])
2023-06-23 18:18:01 +01:00
2022-11-07 20:21:50 +00:00
def ex_midi():
scriptpath = Path.cwd() / "examples" / "midi" / "."
subprocess.run([sys.executable, str(scriptpath)])
2022-11-07 20:21:50 +00:00
def ex_obs():
scriptpath = Path.cwd() / "examples" / "obs" / "."
subprocess.run([sys.executable, str(scriptpath)])
2022-11-07 20:21:50 +00:00
def ex_observer():
scriptpath = Path.cwd() / "examples" / "observer" / "."
subprocess.run([sys.executable, str(scriptpath)])
2023-06-19 20:03:26 +01:00
def test():
2023-06-23 18:18:01 +01:00
subprocess.run(["tox"])