Skip to content

Throw exception if exit code is not successful and setup ProcessStartinfo#63

Merged
darthsharp merged 2 commits into
mainfrom
feature/processexecutionthrowsonerror
Dec 5, 2025
Merged

Throw exception if exit code is not successful and setup ProcessStartinfo#63
darthsharp merged 2 commits into
mainfrom
feature/processexecutionthrowsonerror

Conversation

@darthsharp

Copy link
Copy Markdown
Contributor

No description provided.

…ling, add support for `ThrowOnError` and `ConfigureStartInfo`, and enhance error handling with `ProcessExecutionFailedException`.
…g in `ProcessExecutorBase`

- Introduced new unit tests covering various scenarios such as synchronous/asynchronous execution, generic/non-generic executors, and start info configuration in `ProcessExecutorBuilder`.
- Improved exception handling in `ProcessExecutorBase` by caching `ExitCode` and error output before disposing of the process.
@darthsharp darthsharp merged commit 53944e5 into main Dec 5, 2025
6 checks passed
@darthsharp darthsharp deleted the feature/processexecutionthrowsonerror branch December 5, 2025 15:38
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.

1 participant