added async simulator

This commit is contained in:
ramiro 2017-03-29 17:47:04 -03:00
parent 7f0651d597
commit 604635f3e3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Simulator.prototype.run = function(options) {
cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost')); cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost'));
cmds.push("-a " + (options.num || 10)); cmds.push("-a " + (options.num || 10));
shelljs.exec('testrpc ' + cmds.join(' ')); shelljs.exec('testrpc ' + cmds.join(' '), {async : true});
}; };
module.exports = Simulator; module.exports = Simulator;