We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d3ece commit 377f72eCopy full SHA for 377f72e
test/parallel/test-child-process-spawnsync.js
@@ -92,4 +92,6 @@ assert.deepStrictEqual(ret_err.spawnargs, ['bar']);
92
{ stdio: ['inherit', childA.stdin, 'inherit'] });
93
94
assert.strictEqual(result.status, 0);
95
+ // Explicitly close the wrapped stream on the parent side so childA receives EOF.
96
+ childA.stdin.end();
97
}
0 commit comments