File size: 152 Bytes
8bd8f11
 
8017838
1143e7b
ba62add
8bd8f11
1
2
3
4
5
6
import os
from subprocess import Popen
 
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"] 
worker = Popen(command) 
worker.wait()