Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #31139 from nullaus/bug1188585
Browse files Browse the repository at this point in the history
Bug 1188585 - Set maxBuffer when calling exec. r=gaye
  • Loading branch information
nullaus committed Jul 28, 2015
2 parents 61a3ee9 + c33abac commit ad294e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/utils-node.js
Expand Up @@ -131,7 +131,9 @@ module.exports = {
// XXX: Most cmds should run synchronously, we should use either promise
// pattern inside each script or find a sync module which doesn't
// require recompile again since TPBL doesn't support that.
childProcess.exec(cmds, function(err, stdout) {
childProcess.exec(cmds,
{ maxBuffer: (4096 * 1024) },
function(err, stdout) {
if (err === null && typeof callback === 'function') {
callback(stdout);
}
Expand Down

0 comments on commit ad294e9

Please sign in to comment.