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