From c21c8a5e215bc7b9215fc727cfe17f60ab170333 Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Mon, 27 Jul 2026 19:52:26 +0000 Subject: [PATCH] Fix the async watcher test harness on Windows (#35665) Initialize the Windows-only `ProcessDriver::tty` field to `false` when constructing the streaming output test harness. GitOrigin-RevId: 95683779072cba31664d059750b81ee0d9c17664 --- codex-rs/core/src/unified_exec/async_watcher_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex-rs/core/src/unified_exec/async_watcher_tests.rs b/codex-rs/core/src/unified_exec/async_watcher_tests.rs index 55bbcf39c8..fe731c40bd 100644 --- a/codex-rs/core/src/unified_exec/async_watcher_tests.rs +++ b/codex-rs/core/src/unified_exec/async_watcher_tests.rs @@ -40,6 +40,8 @@ async fn streaming_output_harness() -> anyhow::Result { terminator: None, writer_handle: None, resizer: None, + #[cfg(windows)] + tty: false, }); let process = Arc::new( UnifiedExecProcess::from_spawned(spawned, SandboxType::None, Box::new(NoopSpawnLifecycle))