Skip to content

child_process: check for closed pipes after creating socket

After the socket is created, this PR now triggers an empty read to make sure we catch stdio events like closing the stdin file descriptor. Otherwise those events will go undetected until the next stream write.

Fixes: https://github.com/nodejs/node/issues/25131

Merge request reports

Loading