diff --git a/Environment.js b/Environment.js index 24968cb05..38ae6186b 100644 --- a/Environment.js +++ b/Environment.js @@ -4,7 +4,6 @@ exports.newEnvironment = function () { WEB_SERVER_URL: 'localhost', CLIENT_WEB_SOCKETS_INTERFACE_PORT: 18041, CLIENT_HTTP_INTERFACE_PORT: 34248, - PATH_TO_TASK_SERVER: './TaskServer', PATH_TO_DATA_STORAGE: './Data-Storage', PATH_TO_PROJECTS: './Projects', PATH_TO_LOG_FILES: './Log-Files', diff --git a/EnvironmentForDebug.js b/EnvironmentForDebug.js index 754d228bb..efb5fec7b 100644 --- a/EnvironmentForDebug.js +++ b/EnvironmentForDebug.js @@ -8,7 +8,6 @@ exports.newEnvironment = function () { DESKTOP_WEB_SOCKETS_INTERFACE_HOST: 'localhost', CLIENT_HTTP_INTERFACE_PORT: 34248, DESKTOP_HTTP_INTERFACE_PORT: 34249, - PATH_TO_TASK_SERVER: './TaskServer', PATH_TO_DATA_STORAGE: './Data-Storage', PATH_TO_PROJECTS: './Projects', PATH_TO_LOG_FILES: './Log-Files', diff --git a/Platform/Client/taskManagerServer.js b/Platform/Client/taskManagerServer.js index 4c326b29d..da0cc381b 100644 --- a/Platform/Client/taskManagerServer.js +++ b/Platform/Client/taskManagerServer.js @@ -63,7 +63,7 @@ //console.log('[INFO] Client -> Task Manager Server -> runTask -> Task Name = ' + message.event.taskName) //console.log('[INFO] Client -> Task Manager Server -> runTask -> Task Id = ' + message.event.taskId) - let path = global.env.PATH_TO_TASK_SERVER + '/Task.js' + let path = './TaskServerRoot.js' /* Workarround to avoid having the same debug port at the forked process which makes it crash. */ for (let i = 0; i < process.execArgv.length; i++) {