-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENOTCONN thrown when calling process.stdin.end() in node 10.1.0 #22814
Comments
3 tasks
mcollina
added a commit
to mcollina/node
that referenced
this issue
Sep 17, 2018
addaleax
pushed a commit
to addaleax/node
that referenced
this issue
Sep 24, 2018
3 tasks
targos
pushed a commit
that referenced
this issue
Oct 4, 2018
PR-URL: #23051 Fixes: #22814 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: George Adams <[email protected]> Reviewed-By: James M Snell <[email protected]>
jasnell
pushed a commit
that referenced
this issue
Oct 17, 2018
PR-URL: #23051 Fixes: #22814 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: George Adams <[email protected]> Reviewed-By: James M Snell <[email protected]>
This was referenced Oct 23, 2018
BethGriggs
pushed a commit
that referenced
this issue
Mar 19, 2019
Backport-PR-URL: #25351 PR-URL: #23051 Fixes: #22814 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: George Adams <[email protected]> Reviewed-By: James M Snell <[email protected]>
abhishekumar-tyagi
pushed a commit
to abhishekumar-tyagi/node
that referenced
this issue
May 5, 2024
PR-URL: nodejs/node#23051 Fixes: nodejs/node#22814 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: George Adams <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
If I run this file:
using node 10.1.0, 10.9.0 or 10.10.0, it throws an ENOTCONN error.
This is the output when using node 10.1.0:
But when using node 10.0.0, no error is thrown.
Is that a bug?
It may seem useless, but I'm actually trying to solve this bug for code that looks more like this:
So the code I'm working on uses
process.stdin.end();
to finish the program. It indeed finishes, but only after throwing the error. By the way (and I don't know if it has something to do with this issue), if I useprocess.stdin.destroy();
instead ofprocess.stdin.end();
, it works as expected.The text was updated successfully, but these errors were encountered: