import subprocess command = ["python3", "-m", "llama_cpp.server", "--model", "model/gguf-model.bin", "--host", "0.0.0.0", "--port", "2600"] subprocess.Popen(command)