Return output of commands on ConsoleAPI::run() method