diff --git a/codex-rs/code-mode/src/remote_session/connection.rs b/codex-rs/code-mode/src/remote_session/connection.rs index 48345d506c..ed5a22074b 100644 --- a/codex-rs/code-mode/src/remote_session/connection.rs +++ b/codex-rs/code-mode/src/remote_session/connection.rs @@ -158,6 +158,8 @@ impl Connection { let mut command = Command::new(host_program); #[cfg(unix)] command.process_group(0); + #[cfg(windows)] + command.creation_flags(/*flags*/ 0x0800_0000); // CREATE_NO_WINDOW command .stdin(Stdio::piped()) .stdout(Stdio::piped())