diff --git a/src/node.js b/src/node.js index 7215f747190a3c..b80bc308af1f99 100644 --- a/src/node.js +++ b/src/node.js @@ -630,6 +630,8 @@ writable: false }); } + // Ensure that Streams2 won't try to `.end()` the stream + stdin._writableState.ended = true; break; default: