ee-core 2.7.0-beta.3 → 2.7.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cross/index.js +5 -2
- package/package.json +1 -1
package/cross/index.js
CHANGED
|
@@ -65,12 +65,15 @@ const CrossLanguageService = {
|
|
|
65
65
|
// Launch executable program
|
|
66
66
|
const coreProcess = crossSpawn(cmdPath, cmdArgs, { stdio: 'inherit', detached: false });
|
|
67
67
|
coreProcess.on('close', (code, signal) => {
|
|
68
|
-
Log.coreLogger.info(`[ee-core] [cross/run] [pid=${coreProcess.pid}, port=${
|
|
68
|
+
Log.coreLogger.info(`[ee-core] [cross/run] [pid=${coreProcess.pid}, port=${confPort}] exited with code: ${code}, signal: ${signal}`);
|
|
69
69
|
if (0 !== code) {
|
|
70
70
|
// 弹错误窗口
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
setTimeout(() => {
|
|
74
|
+
// 延迟退出,进程退出前的一些处理
|
|
75
|
+
CoreElectronApp.quit();
|
|
76
|
+
}, 1500)
|
|
74
77
|
});
|
|
75
78
|
this.execProcess[cmdName] = coreProcess;
|
|
76
79
|
},
|