File size: 165 Bytes
bf1d125
 
 
 
 
 
1
2
3
4
5
6
7
import os
from subprocess import Popen

command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}", "--verbose"] 
worker = Popen(command) 
worker.wait()