Initial implementation of python client with socket.io IPC
This commit is contained in:
@@ -19,7 +19,7 @@ export const launchProcess = (processName, args, waitForClose=false) => {
|
||||
// Store reference to the spawned process
|
||||
runningProcesses[processName] = childProcess;
|
||||
|
||||
code = new Promise(res => {
|
||||
let code = new Promise(res => {
|
||||
childProcess.on('exit', (code, signal) => {
|
||||
// Remove reference to the process when it exits
|
||||
delete runningProcesses[processName];
|
||||
|
||||
Reference in New Issue
Block a user