From 1a29a8f6c92a23655f3cc8e8470f6469aaef3152 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 9 Nov 2018 10:22:51 -0500 Subject: [PATCH] fix(simulator): adds `node` to sim command to comply with Windows --- src/lib/modules/blockchain_process/simulator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/modules/blockchain_process/simulator.js b/src/lib/modules/blockchain_process/simulator.js index f83297fee..eaad03b65 100644 --- a/src/lib/modules/blockchain_process/simulator.js +++ b/src/lib/modules/blockchain_process/simulator.js @@ -75,7 +75,8 @@ class Simulator { const programName = 'ganache-cli'; const program = ganache; console.log(`running: ${programName} ${cmds.join(' ')}`); - shelljs.exec(`${program} ${cmds.join(' ')}`, {async : true}); + + shelljs.exec(`node ${program} ${cmds.join(' ')}`, {async : true}); if(useProxy){ let ipcObject = new Ipc({ipcRole: 'client'});