Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access process output and error streams on error #65

Open
pqnet opened this issue Jun 18, 2018 · 1 comment
Open

Unable to access process output and error streams on error #65

pqnet opened this issue Jun 18, 2018 · 1 comment

Comments

@pqnet
Copy link

pqnet commented Jun 18, 2018

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)

@LinusU
Copy link
Contributor

LinusU commented Jun 18, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants