sindresorhus / nano-spawn

Tiny process execution for humans — a better child_process
MIT License
441 stars 6 forks source link

Add `promise.subprocess` #7

Closed ehmicky closed 2 months ago

ehmicky commented 2 months ago

This adds promise.subprocess.

This only adds a few bytes and gives an escape hatch for users who find our API too limited. That escape hatch can help us not implement additional features and keep the package small, since edge cases can be fixed by using the underlying subprocess, without us having to add more code.