If the stdout exceeds the default max buffer size(1024 * 1024), it would throw an error:
UnhandledPromiseRejectionWarning: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
Reference: https://nodejs.org/api/child_process.html#child_process_maxbuffer_and_unicode
Seems it is necessary to add an option to specify it.