Improve buffer: false option with IPC by ehmicky · Pull Request #1094 · sindresorhus/execa (original) (raw)

This PR is a continuation of #1092.

It improves the behavior of buffer: false with IPC, but in a simpler way than implemented in #1092.

It also adds more code comments explaining the logic on how Node.js buffers IPC messages, and how Execa differs from that default behavior.

Finally, this PR adds more tests related to that logic.