Open pd4d10 opened 4 years ago
Is there any fix for this yet? Logging some of the paths will easily exceed the max buffer size.
Had to manually edit this for my use case, as the buffer is larger than the default setting. Would be great if this could be done, as it's not that complex, just another argument that needs to be passed into childProcess.execFile
.
If the stdout exceeds the default max buffer size(1024 * 1024), it would throw an error:
Reference: https://nodejs.org/api/child_process.html#child_process_maxbuffer_and_unicode
Seems it is necessary to add an option to specify it.