mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
Detached Windows daemons can inherit the launcher's output pipes, leaving callers waiting for EOF after the launcher exits. Clear inheritance flags on the launcher's standard handles before spawning managed Windows processes. Leave the flags cleared to protect concurrent launches while preserving the child's configured stdio, and tolerate missing or already-closed handles. - Add a Windows regression test verifying that captured launcher output closes while the detached child remains alive and writes to its configured log. - Give optional MCP startup grace tests more time to complete on slow runners while keeping the pending server's startup timeout longer than the turn timeout. GitOrigin-RevId: 053e0417793db3c961e738476a05c7467978f339