shell-exec
This is ultimately a very thin wrapper around execa to narrow down and simplify usage. It was established for some other packages to avoid hard-coding to a spawn lib, but execa has improved a lot and this doesn't really add much value, but does simplify the API for most use cases.
In general, you should probably use execa instead of this.