d78f37ec8f
Co-authored-by: Milan Burda <miburda@microsoft.com>
6 lines
248 B
JavaScript
6 lines
248 B
JavaScript
const path = require('node:path');
|
|
const childProcess = require('node:child_process');
|
|
|
|
const crashPath = path.join(__dirname, 'node-crash.js');
|
|
const child = childProcess.fork(crashPath, { silent: true });
|
|
child.on('exit', () => process.exit(0));
|