From 604635f3e327a70f3aebdf71cb57502fb7955e30 Mon Sep 17 00:00:00 2001 From: ramiro Date: Wed, 29 Mar 2017 17:47:04 -0300 Subject: [PATCH] added async simulator --- lib/cmds/simulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index 47554c123..6278bd1f0 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -11,7 +11,7 @@ Simulator.prototype.run = function(options) { cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost')); cmds.push("-a " + (options.num || 10)); - shelljs.exec('testrpc ' + cmds.join(' ')); + shelljs.exec('testrpc ' + cmds.join(' '), {async : true}); }; module.exports = Simulator;