mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Tests can leave the tty in non-blocking mode. If the test runner tries to print to stdout/stderr after that and the tty buffer is full, it'll die with a EAGAIN OSError. Ergo, put the tty back in blocking mode before proceeding.