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

Check the exit status of the command instead of stderr #199

Merged
merged 1 commit into from
Feb 26, 2015

Conversation

cjsewell
Copy link
Contributor

Composer now outputs non-error messages to stderr. The run function should be check the exit status of the command, not the error output.

Composer now outputs non-error messages to stderr. the `run` function should be check the exit status of the command, not the error output.
@antonmedv
Copy link
Member

Cool. Thanks. Now work without errors?

@antonmedv antonmedv added the bug label Feb 26, 2015
antonmedv pushed a commit that referenced this pull request Feb 26, 2015
Check the exit status of the command instead of stderr
@antonmedv antonmedv merged commit e9a039e into deployphp:2.x Feb 26, 2015
@cjsewell
Copy link
Contributor Author

Yep it was annoying but some applications use std error even though its not an error. Checking the exit status is a more reliable way to tell if the command was successful. 0 means Ok, any other number means there was an error

@antonmedv
Copy link
Member

Cool! Thanks!

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

Successfully merging this pull request may close these issues.

2 participants