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

Do not throw if process exits with 0 #9562

Conversation

gerhardol
Copy link
Member

Fixes #9462
Replaces #9489 (no changes at PR submit). @mstv has been missing a few weeks...
When approved, will rename the remaining throwOnErrorOutput arguments (that was added in #9056) after approval #9489 (comment)
See #9489 for further PR explanation

Proposed changes

Only throw on error exit, not on output in stderror.

Test methodology

Manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Sep 8, 2021
- Ignore StandardError output
- Use it only as exception text on non-zero exit code

makes gitextensions#9056 less intercepting, fixes gitextensions#9462

Except for the actual changes in Executable.cs, this is just renaming
the argument to match the changed functionality.
@gerhardol gerhardol force-pushed the feature/mstv/fix/9462_exit_code_only branch from 69967a7 to a678934 Compare September 9, 2021 19:00
@gerhardol gerhardol merged commit 18c9f86 into gitextensions:master Sep 9, 2021
@ghost ghost added this to the 3.6 milestone Sep 9, 2021
@gerhardol gerhardol deleted the feature/mstv/fix/9462_exit_code_only branch September 9, 2021 20:04
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.

Deleting remote branch is broken
3 participants