mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 11:20:16 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
d8b7b8aaac
1 changed files with 1 additions and 2 deletions
|
|
@ -547,7 +547,7 @@ const initKernel = (initData) => {
|
||||||
const cp = require('child_process')
|
const cp = require('child_process')
|
||||||
const kernelProcess = cp.spawn(kernelPath,
|
const kernelProcess = cp.spawn(kernelPath,
|
||||||
cmds, {
|
cmds, {
|
||||||
detached: true,
|
detached: false, // 桌面端内核进程不再以游离模式拉起 https://github.com/siyuan-note/siyuan/issues/6336
|
||||||
stdio: 'ignore',
|
stdio: 'ignore',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
@ -593,7 +593,6 @@ const initKernel = (initData) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
kernelProcess.unref()
|
|
||||||
writeLog('booted kernel process')
|
writeLog('booted kernel process')
|
||||||
|
|
||||||
const sleep = (ms) => {
|
const sleep = (ms) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue