Initial implementation of python client with socket.io IPC

This commit is contained in:
Logan Cusano
2024-04-03 02:24:21 -04:00
parent be5943e9d4
commit c78ed89707
11 changed files with 1022 additions and 308 deletions

View File

@@ -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];