Open
Description
- Version: electron-builder version=22.11.7 os=20.1.0 ==> MACOS
- Electron Version: v12.0.7
- Electron Type (current, beta, nightly): current
- Target: platform=win32 arch=x64 WINDOWS 10
I am forking inside main. Like this:
const p = fork(path.join(__dirname, 'child.js'));
p.on('exit', function (code) { console.log('Child exited with code ' + code); });
What happens is that when I build at windows (electron-builder version=22.11.7 os=10.0.19043), install on it, the fork is made and code runs properly. as expected.
When i build at Mac, and install on windows, I get exit code 1.
I have already compared the app.asar file, and the hierarchy of the forked file is the same on both.
Activity