We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4de31d5 commit f9c16b8Copy full SHA for f9c16b8
lib/internal/child_process.js
@@ -301,9 +301,7 @@ function flushStdio(subprocess) {
301
// TODO(addaleax): This doesn't necessarily account for all the ways in
302
// which data can be read from a stream, e.g. being consumed on the
303
// native layer directly as a StreamBase.
304
- if (!stream || !stream.readable ||
305
- stream._readableState.readableListening ||
306
- stream[kIsUsedAsStdio]) {
+ if (!stream || !stream.readable || stream[kIsUsedAsStdio]) {
307
continue;
308
}
309
stream.resume();
0 commit comments