mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(computer-use): hide the --no-overlay help probe console too
Follow-up to the #62821 salvage: the _cua_driver_supports_no_overlay --help probe is another Windows-reachable spawn; give it the same windows_hide_flags() treatment. Also adjust the status test to stub _resolve_driver_cmd (permissions.py resolves via that helper, not shutil.which).
This commit is contained in:
parent
b0a8775d66
commit
16720dc45b
2 changed files with 2 additions and 1 deletions
|
|
@ -479,6 +479,7 @@ def _cua_driver_supports_no_overlay(driver_cmd: str) -> bool:
|
|||
[driver_cmd, "--help"],
|
||||
capture_output=True, text=True, encoding="utf-8", errors="replace", timeout=3.0,
|
||||
stdin=subprocess.DEVNULL,
|
||||
creationflags=windows_hide_flags(),
|
||||
env=_sanitize_subprocess_env(cua_driver_child_env()),
|
||||
)
|
||||
help_text = (proc.stdout or "") + (proc.stderr or "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue