import subprocess subprocess.run( args=["python", "-m", "moshi.server", "--port", "7860", "--host", "0.0.0.0"] )