The solution we are pursuing for https://github.com/phetsims/chipper/issues/1306 involves stdio: 'inherit' so would be incompatible with aggregating the data (that strategy fails when calling process.on('data').)
So we would at least like to start by making sure the dev team is aware of this truncation problem. We could do more experimentation to try to understand this threshold, and it may be different on different platforms.
In https://github.com/phetsims/chipper/issues/1306 @marlitas and I observed that the output from execute is truncated when the string length exceeds a certain (unknown) threshold.
The solution we are pursuing for https://github.com/phetsims/chipper/issues/1306 involves
stdio: 'inherit'
so would be incompatible with aggregating the data (that strategy fails when callingprocess.on('data')
.)So we would at least like to start by making sure the dev team is aware of this truncation problem. We could do more experimentation to try to understand this threshold, and it may be different on different platforms.