## 事象 [[child_process.execFile]]を実行した結果の`stdout`が途中で途切れている。 ## 原因 `maxBuffer`オプションの値を超えていたから。デフォルトは`1024 * 1024` = 1MB。 ## 解決方法 [[child_process.execFile]]の第3引数に `{ maxBuffer: 100 * 1024 * 1024 }` を指定する。 ## 参考 - [Child process \| Node\.js v18\.6\.0 Documentation](https://nodejs.org/api/child_process.html)