detach
This commit is contained in:
parent
1e86b0e0d9
commit
d5146b7e05
3 changed files with 3 additions and 1 deletions
1
dist/main/index.js
vendored
1
dist/main/index.js
vendored
|
|
@ -97050,6 +97050,7 @@ async function startRemoteCacheServer() {
|
|||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||
const serverProcess = fork(path.join(__dirname, '..', 'remote-cache-server', 'index.js'), [], {
|
||||
detached: true,
|
||||
stdio: ['ignore', log, log, 'ipc']
|
||||
})
|
||||
serverProcess.unref()
|
||||
|
|
|
|||
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
1
index.js
1
index.js
|
|
@ -184,6 +184,7 @@ async function startRemoteCacheServer() {
|
|||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||
const serverProcess = fork(path.join(__dirname, '..', 'remote-cache-server', 'index.js'), [], {
|
||||
detached: true,
|
||||
stdio: ['ignore', log, log, 'ipc']
|
||||
})
|
||||
serverProcess.unref()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue