feat: implement ProcessManager service for managing child processes and logging
This commit is contained in:
@@ -104,7 +104,6 @@ export class ProcessManager {
|
||||
this.addLog(name, `Starting service with: ${binPath} ${args.join(' ')}`)
|
||||
|
||||
const child = spawn(binPath, args, {
|
||||
detached: true,
|
||||
shell: shell,
|
||||
windowsHide: true,
|
||||
stdio: ['ignore', 'pipe', 'pipe'],
|
||||
@@ -131,7 +130,6 @@ export class ProcessManager {
|
||||
})
|
||||
|
||||
this.processes.set(name, child)
|
||||
child.unref()
|
||||
|
||||
return true
|
||||
} catch (error: any) {
|
||||
|
||||
Reference in New Issue
Block a user