diff --git a/src/node.js b/src/node.js index 7215f74719..dbadc66373 100644 --- a/src/node.js +++ b/src/node.js @@ -630,6 +630,8 @@ writable: false }); } + // Make sure the stdin can't be `.end()`-ed + stdin._writableState.ended = true; break; default: