normalize / mz

modernize node.js to current ECMAScript standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to access process output and error streams on error

pqnet opened this issue · comments

commented

The promise interface does not allow recovering stderr/stdout from child_process.exec and similar functions, although the callback interface does expose them, in case of error (in particular when the command has a non-zero exit state)

We should of course fix this, but I would also like to recommend execa for async child_process stuff.