server: use electron as node for server process
This commit is contained in:
parent
3a1a05636b
commit
fb3def071f
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ function startServerProcess() {
|
|||
}
|
||||
}
|
||||
|
||||
serverProcess = fork(app.getAppPath(), args, {stdio: 'pipe', env: {...process.env, OSC_SERVER_PROCESS: 1}})
|
||||
serverProcess = fork(app.getAppPath(), args, {stdio: 'pipe', env: {...process.env, OSC_SERVER_PROCESS: 1, ELECTRON_RUN_AS_NODE: 1}})
|
||||
|
||||
var cb = (data)=>{
|
||||
if (data.indexOf('(INFO) Server started') > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue