Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumNodeJSchild_process spawningSingle-choice MCQ

What does `execFile` do when the child writes more to stdout than the configured `maxBuffer`?

execFile('node', ['-e', 'process.stdout.write("x".repeat(2000))'], { maxBuffer: 1024 }, (err, stdout) => { /* ... */ });