You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
maxBuffer exceeded because of using exec instead of spawn #213
changed the title [-]maxBuffer exceeded because using exec instead of spawn[/-][+]maxBuffer exceeded because of using exec instead of spawn[/+]on Jun 12, 2016
Somewhat related to #181, though in that case (lerna run) the output from each package is buffered and later emitted by Lerna. In bootstrap it looks like the output is discarded, so Lerna could use spawn's stdio option to simply ignore it.
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Activity
[-]maxBuffer exceeded because using exec instead of spawn[/-][+]maxBuffer exceeded because of using exec instead of spawn[/+]hzoo commentedon Jun 13, 2016
Related to #181 as well? what's the difference between exec/spawn?
gigabo commentedon Jun 13, 2016
Somewhat related to #181, though in that case (
lerna run) the output from each package is buffered and later emitted by Lerna. Inbootstrapit looks like the output is discarded, so Lerna could use spawn's stdio option to simply ignore it.Expicitly ignore output from `npm install`
laurentdesmet commentedon Jun 13, 2016
Indeed, somewhat related to #181: there an error is thrown because the
stderrbuffer is exceeded. In my case, it is thestdoutbuffer.execwill buffer the stdout and stderr channels of a process, wherespawnwill stream these channels.spawnis recommended if your child process emits a lot of data throughstderrorstdout, see this article: http://www.hacksparrow.com/difference-between-spawn-and-exec-of-node-js-child_process.html. In this case,spawnwould be more suited.Expicitly ignore output from `npm install` (#217)
lock commentedon Dec 28, 2018
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.