child_process.exec limits stdout to 200k, throws exception when git command produces more than 200k of output
I'm trying to run some git commands using git-wrapper that generate more than 200k of output. They are hitting the maxBuffer limit of 200k from child_process.exec and throwing an exception (see http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback)
I think a good workaround would be to use child_process.spawn instead. I'll send a pull-request over to demonstrate what I mean.
This StackOverflow thread shows an example of the error I'm talking about with child_process.exec: https://stackoverflow.com/questions/23429499/stdout-buffer-issue-using-node-child-process
I've submitted pull-request #7 for review. Let me know if any issues/questions. Thanks!
@pvorb :+1: this is a problem for us as well