D | test-child-process-double-pipe.js | 36 let grep, sed, echo; variable 39 grep = spawn('grep', ['--binary', 'o']); 45 grep = spawn('grep', ['o']); 62 if (!grep.stdin.write(data)) { 69 grep.stdin.on('drain', (data) => { 75 grep.stdin.end(); 82 grep.on('exit', mustCall(() => { 92 grep.stdout.on('data', mustCallAtLeast((data) => { 95 grep.stdout.pause(); 102 grep.stdout.resume(); [all …]
|