node icon indicating copy to clipboard operation
node copied to clipboard

child_process: check for closed pipes after creating socket

Open seangoedecke opened this issue 4 years ago • 1 comments

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

seangoedecke avatar May 18 '21 05:05 seangoedecke

Hey @seangoedecke, sorry your PR was not reviewed for so long! Any chance you would be able to rebase on top of main to get it back to a state where it can land? Or let me know if you prefer I do it for you.

aduh95 avatar Sep 20 '23 07:09 aduh95