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

Return $result if getStdError() returns an empty string. #209

Conversation

tomzx
Copy link
Contributor

@tomzx tomzx commented Mar 4, 2015

This is done to support applications which return a non-zero exit status but do not output error messages to stderr.

This is done to support applications which return a non-zero exit status but do not output error messages to stderr.
@antonmedv
Copy link
Member

Do you know application like that?

@tomzx
Copy link
Contributor Author

tomzx commented Mar 5, 2015

Grunt for example.

It is not rare for developers to write to stdout instead of stderr and return a non-zero exit status.

@gquemener
Copy link
Contributor

I'd say better always display both stdout and stderr when throwing the RuntimeException.

antonmedv pushed a commit that referenced this pull request May 4, 2015
…-is-empty

Return $result if getStdError() returns an empty string.
@antonmedv antonmedv merged commit bdffa0b into deployphp:master May 4, 2015
@gordalina
Copy link
Contributor

👍

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

Successfully merging this pull request may close these issues.

None yet

4 participants