import subprocess import os subprocess.run(["python", "webui.py"], check=True)