Skip to content

The agent that grows with you

fix: redirect stdin to DEVNULL in non-verbose cua-driver installer (#79684)

RelaxJonh5c5e8492e0a5
diff --git a/hermes_cli/tools_config.py b/hermes_cli/tools_config.py
index 32489ccd485..792552adfae 100644
--- a/hermes_cli/tools_config.py
+++ b/hermes_cli/tools_config.py
@@ -1725,6 +1725,7 @@ def _run_cua_driver_installer(
else:
proc = subprocess.Popen(
install_cmd, shell=use_shell, env=installer_env,
+ stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
text=True, encoding="utf-8", errors="replace",
creationflags=_post_setup_no_window_flags(),