Merge pull request #126 from sc-forks/stdout-buffer-max

Increase testrpc-sc stdout buffer size
pull/133/head
c-g-e-w-e-k-e- 7 years ago committed by GitHub
commit 0b5775b7e7
  1. 3
      lib/app.js

@ -153,7 +153,8 @@ class App {
: command = `${npm} `; : command = `${npm} `;
// Launch // Launch
this.testrpcProcess = childprocess.exec(command + options, null, (err, stdout, stderr) => { const execOpts = {maxBuffer: 1024 * 1024 * 10};
this.testrpcProcess = childprocess.exec(command + options, execOpts, (err, stdout, stderr) => {
if (err) { if (err) {
if (stdout) this.log(`testRpc stdout:\n${stdout}`); if (stdout) this.log(`testRpc stdout:\n${stdout}`);
if (stderr) this.log(`testRpc stderr:\n${stderr}`); if (stderr) this.log(`testRpc stderr:\n${stderr}`);

Loading…
Cancel
Save