Skip to content

stdio: lazy read ReadStream

Rodrigo Muino Tomonari requested to merge github/fork/nxtedition/stdin-lazy into master

All stdio ReadStream's use manual start to avoid consuming data for example when a process execs/spawns.

Using stream._construct would cause the Readable to incorrectly greedily start reading.

Refs: https://github.com/nodejs/node/issues/36251

Merge request reports

Loading