mirror of
https://github.com/electron/electron.git
synced 2026-01-14 18:08:07 -05:00
7 lines
185 B
JavaScript
7 lines
185 B
JavaScript
process.on('message', function () {
|
|
process.send(process.argv);
|
|
});
|
|
|
|
// Allow time to send args, then crash the app.
|
|
setTimeout(() => process.nextTick(() => process.crash()), 10000);
|