12 lines
261 B
Python
12 lines
261 B
Python
import subprocess
|
|
from pathlib import Path
|
|
|
|
|
|
def main() -> None:
|
|
curr_dir = Path(__file__).resolve().parent.absolute()
|
|
script = curr_dir / "run.sh"
|
|
try:
|
|
subprocess.run(["sh", script], check=True)
|
|
except KeyboardInterrupt:
|
|
return
|