Node.js - Child Processes
What output will this Node.js code produce?
const { spawn } = require('child_process');
const child = spawn('node', ['-e', 'process.exit(10)']);
child.on('exit', (code) => console.log(`Code: ${code}`));