fix(simulator): adds `node` to sim command to comply with Windows

This commit is contained in:
Jonathan Rainville 2018-11-09 10:22:51 -05:00 committed by Pascal Precht
parent 3353a05c3e
commit 1a29a8f6c9
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 2 additions and 1 deletions

View File

@ -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'});