NSC9's picture
Update app.py
8017838
raw
history blame contribute delete
152 Bytes
import os
from subprocess import Popen
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
worker = Popen(command)
worker.wait()