Lightweight coding agent that runs in your terminal
Rust
Suppress console windows when spawning the code-mode host on Windows (#48138)
zm-oai17f37f56be7e
diff --git a/codex-rs/code-mode/src/remote_session/connection.rs b/codex-rs/code-mode/src/remote_session/connection.rsindex 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_WINDOWcommand.stdin(Stdio::piped()).stdout(Stdio::piped())