| D | test-child-process-pipe-dataflow.js | 9 let cat, grep, wc; variable 16 // check cat <file> | grep 'x' | wc -c === 1MB 34 grep = spawn('grep', ['x'], { stdio: [cat.stdout, 'pipe', 'pipe'] }); 35 wc = spawn('wc', ['-c'], { stdio: [grep.stdout, 'pipe', 'pipe'] }); 39 grep.stdout._handle.readStart = common.mustNotCall(); 49 [cat, grep, wc].forEach((child, index) => { 70 // Grep always adds one extra byte at the end.
|