If you are compiling Electron with the --asar flag, based on the docs that would be a problem.
There's also this issue where you can not have the stdio attached to the parent. So assuming having a detached stdio is not a deal-breaker, you can try { stdio: 'ignore' }.