From c418fb907e80954b0d8ebb9127778fcfb12d8604 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 8 Sep 2016 09:20:47 -0700 Subject: [PATCH] bump the buffer size --- shell.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell.js b/shell.js index 319f3eb..96a4d97 100644 --- a/shell.js +++ b/shell.js @@ -36,7 +36,7 @@ function exec(tag, file, args, options, callback) { debug(tag + ' execFile: %s %s', file, args.join(' ')); - options.maxBuffer = 1000 * 1024; // in bytes default is 200*1024 + options.maxBuffer = 5000 * 1024; // in bytes default is 200*1024 var cp = child_process.spawn(file, args, options); cp.stdout.on('data', function (data) { @@ -75,7 +75,7 @@ function system(tag, cmd, options, callback) { debug(tag + ' system: %s %j', cmd, options); - options.maxBuffer = 1000 * 1024; // in bytes default is 200*1024 + options.maxBuffer = 5000 * 1024; // in bytes default is 200*1024 var cp = child_process.exec(cmd, options, function (error, stdout, stderr) { if (error) debug(tag + ' (error) ' + error);