diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 3c2d6342c..0411074a2 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -899,13 +899,12 @@ exports.newHttpInterface = function newHttpInterface() { async function runNodeSetup () { console.log( "Running Node setup to adjust for new Branch" ) - const path = require("path"); const process = require("process"); - const { exec } = require("child_process"); + const { execSync } = require("child_process"); let dir = process.cwd() let command = "node setup"; - exec( command, + execSync( command, { cwd: dir },