in lib/run.js [24:37]
module.exports.run = function (args = {}) {
const electonArgs = args.argv || [];
// Add the path to the main process as the last Electron argument to pass into execa
electonArgs.push(
path.join(this.locations.www, 'cdv-electron-main.js')
);
const child = execa(electron, electonArgs, { windowsHide: false, stdio: 'inherit' });
child.on('close', (code) => {
process.exit(code);
});
};