[android] update

This commit is contained in:
2018-05-10 17:56:39 +03:00
parent 4ed7fb3a02
commit 25913a8f42
3 changed files with 43 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ const log = require('./log')('exec');
const queue = async.queue((task, done) => {
log.d('*%s*', task.command);
//process.chdir(task.dir);
child_process.exec(task.command, {cwd: task.dir, maxBuffer: 1024 * 5000}, (err, stdout, stderr) => {
child_process.exec(task.command, {cwd: task.dir, maxBuffer: 1024 * 10000}, (err, stdout, stderr) => {
if (err) {
log.v('!%s!', err);
task.failure(stderr || stdout || err);