lerna list
output is truncated at 8192 bytes when exec
ed
#3970
Labels
lerna list
output is truncated at 8192 bytes when exec
ed
#3970
Current Behavior
When executing
lerna list
from within a Node process viaexec
orspawn
, the stdout is truncated at 8192 bytes.Expected Behavior
All stdout output should be captured.
This appears to have been introduced with bafe090, because the
process.exit
terminates the process handle before the output buffers are finished flushing.Reference: https://stackoverflow.com/a/59322701/27578
Steps to Reproduce
Run this code in a monorepo which has a large enough number of packages to push the output of
list
past 8192 bytes.Other variantions tried:
These snippets work as expected with
lerna@8.1.0
.The text was updated successfully, but these errors were encountered: