Files
hermes-agent/gateway
liuhao1024 fea812824d fix(gateway): resolve the update/restart argv from the running install, not PATH
_resolve_hermes_bin preferred `shutil.which("hermes")` over the running
interpreter's module argv. On Windows a hermes.exe planted earlier in PATH is
therefore the argv /update and /restart re-exec, hijacking the update process
(#111569). Flip the order: python -m hermes_cli.main (exactly this install)
wins whenever hermes_cli is importable; PATH stays as the fallback, then None.
2026-09-15 19:03:08 -07:00
..