diff --git a/01_Code/physical_computing_interface/setup/serve.js b/01_Code/physical_computing_interface/setup/serve.js index 7fbc829e1e8cde9fd575374d8beabfb2dbdf2955..fe3baa429e58bfb54fd4f7715a5f31b7718145e3 100644 --- a/01_Code/physical_computing_interface/setup/serve.js +++ b/01_Code/physical_computing_interface/setup/serve.js @@ -63,7 +63,7 @@ function runPython_urx(setup){ let outputFile = editJsonFile(`${__dirname}/`+root+`sim_config.json`); outputFile.set("setup", setup.DEMSetup); outputFile.save(); - console.log("saved the DEM setup in ../simulation/dice_firmware/build/x86/src/sim/vis/"); + console.log("saved the DEM setup in"+ `${__dirname}/`+root+`sim_config.json`); console.log(); console.log("Compile and run the DEM simulator:") var commands=[]; @@ -74,10 +74,10 @@ function runPython_urx(setup){ commands.push("cd " + "src/sim/vis/"); }else{ - commands.push("cd " + root); + // commands.push("cd " + root); } - commands.push("./sim_vis_executable"); + commands.push("cd " + root+"; ./sim_vis_executable"); runListCommand(commands,0); }else{