sindresorhus / nano-spawn

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

Add `result.stdout` and `result.stderr` #6

Closed ehmicky closed 2 months ago

ehmicky commented 2 months ago

This adds result.stdout and result.stderr to retrieve the full output. This also adds error.stdout and error.stderr, since knowing the output on errors is very useful.

I tried to implement it in as few lines as possible, but it's a little difficult to do so.

sindresorhus commented 2 months ago

Conflict

ehmicky commented 2 months ago

Fixed. :+1: