Spawn a child process in Electron

后端 未结 4 1029
野的像风
野的像风 2020-12-09 10:04

I\'m using Node v6.2.2 and Electron v1.2.5.

I have a small application that I\'ve built on top of Electron and now I need to fork the process to run som

4条回答
  •  春和景丽
    2020-12-09 10:10

    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' }.

提交回复
热议问题