Skip to content

Commit

Permalink
Merge pull request openframeworks#167 from armadillu/bugfix/maxBuffer…
Browse files Browse the repository at this point in the history
…Exceeded

increase max stdout buffer size to fix openframeworks#122
  • Loading branch information
arturoc authored Sep 1, 2017
2 parents 5d763fb + 78d2e3a commit 7e019f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ ipc.on('update', function(event, arg) {

var wholeString = pgApp + " " + recursiveString + " " + verboseString + " " + pathString + " " + platformString + " " + updatePath;

exec(wholeString, function callback(error, stdout, stderr) {
exec(wholeString, {maxBuffer : Infinity}, function callback(error, stdout, stderr) {

if (error === null) {
event.sender.send('consoleMessage', "<strong>" + wholeString + "</strong><br>" + stdout);
Expand Down Expand Up @@ -659,7 +659,7 @@ ipc.on('generate', function(event, arg) {

var wholeString = pgApp + " " + verboseString + " " + pathString + " " + addonString + " " + platformString + " " + projectString;

exec(wholeString, function callback(error, stdout, stderr) {
exec(wholeString, {maxBuffer : Infinity}, function callback(error, stdout, stderr) {

var wasError = false;
var text = stdout; //Big text with many line breaks
Expand Down

0 comments on commit 7e019f7

Please sign in to comment.