Add -l to chroot bash to source environment variables
This commit is contained in:
@@ -521,7 +521,7 @@ def delegate_to_hermes(task: str) -> str:
|
||||
|
||||
# Tentativa 3: Fallback para o CLI antigo do host (Antigravity original via chroot)
|
||||
if os.path.exists("/host_root"):
|
||||
return run_bash(f"chroot /host_root /bin/bash -c \"hermes -z {safe_task}\"", timeout=300)
|
||||
return run_bash(f"chroot /host_root /bin/bash -l -c \"hermes -z {safe_task}\"", timeout=300)
|
||||
else:
|
||||
return run_bash(f"hermes -z {safe_task}", timeout=300)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user