This commit is contained in:
2025-09-26 18:47:57 +00:00
parent 3a454780a2
commit d3cdc5d3bd
4 changed files with 40 additions and 21 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env python3
import subprocess
import os
# Virtuelle Umgebung aktivieren (Pfad zu deinem venv)
venv_python = "/srv/poe_manager/venv/bin/python3"
# Poe.sh über bash ausführen, innerhalb der venv
subprocess.run(["/bin/bash", "/usr/local/bin/custom/poe.sh"], env={"PATH": f"/srv/poe_manager/venv/bin:" + os.environ["PATH"]})