mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
The exit status can arrive before the PTY reader delivers its final bytes. Drain stdout to channel closure while awaiting the exit status so the test compares complete output with and without file descriptor attachments. GitOrigin-RevId: c695a1c1cd00c11071bd17523cfc2ca7effc697c