fixes async on blockchains

This commit is contained in:
ramiro 2017-03-21 15:28:36 -03:00
parent 3e0e1fda0c
commit af4cacf496
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ var Blockchain = function(options) {
Blockchain.prototype.runCommand = function(cmd) {
console.log(("running: " + cmd.underline).green);
return shelljs.exec(cmd, {async:true});
return shelljs.exec(cmd);
};
Blockchain.prototype.run = function() {
@ -49,7 +49,7 @@ Blockchain.prototype.run = function() {
console.log("===============================================================================".magenta);
var address = this.initChainAndGetAddress();
this.client.mainCommand(address, function(cmd) {
self.runCommand(cmd);
self.runCommand(cmd, {async:true});
});
};