diff --git a/codex-rs/core/src/shell.rs b/codex-rs/core/src/shell.rs index e164e5b4..197c00ba 100644 --- a/codex-rs/core/src/shell.rs +++ b/codex-rs/core/src/shell.rs @@ -98,6 +98,7 @@ pub async fn default_user_shell() -> Shell { .unwrap_or(false); let bash_exe = if Command::new("bash.exe") .arg("--version") + .stdin(std::process::Stdio::null()) .output() .await .ok()