From acc56fd100aab79be845245f78a82d9e5c5b5bf3 Mon Sep 17 00:00:00 2001 From: Ethan Goldblum Date: Mon, 3 Mar 2014 10:55:44 -0800 Subject: [PATCH] Increase maxBuffer for installApp command --- lib/devices/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devices/common.js b/lib/devices/common.js index 3e78f3606..35ef9ff9d 100644 --- a/lib/devices/common.js +++ b/lib/devices/common.js @@ -124,7 +124,7 @@ exports.removeApp = function (removeCommand, udid, bundleId, cb) { exports.installApp = function (installationCommand, udid, unzippedAppPath, cb) { logger.info("Installing app using cmd: " + installationCommand); - exec(installationCommand, function (error) { + exec(installationCommand, { maxBuffer: 524288 }, function (error) { if (error !== null) { cb(new Error('Unable to install [' + unzippedAppPath + '] to device with id [' + udid + ']. Error [' + error + ']')); } else {