Conversation
…ion of `ProcessStartInfo`/`Process`
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new overload for Command.ExecuteAsync that enables direct configuration of the underlying ProcessStartInfo and Process, catering to edge cases where the CliWrap abstraction needs to be bypassed.
- Introduces a new overload accepting configuration actions for ProcessStartInfo and Process.
- Retains the previous overload by internally calling the new one with null configuration actions.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #290 +/- ##
==========================================
+ Coverage 95.01% 95.03% +0.02%
==========================================
Files 48 48
Lines 1203 1208 +5
Branches 89 95 +6
==========================================
+ Hits 1143 1148 +5
Misses 37 37
Partials 23 23 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hawkeye116477
pushed a commit
to hawkeye116477/CliWrap-net462
that referenced
this pull request
Jun 24, 2025
…ion of `ProcessStartInfo`/`Process` (Tyrrrz#290)
This was referenced Jul 30, 2025
This was referenced Aug 15, 2025
This was referenced Sep 11, 2025
This was referenced Oct 19, 2025
This was referenced Nov 19, 2025
This was referenced Dec 21, 2025
This was referenced Apr 16, 2026
This was referenced Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #79
Example usage:
Note that using this overload is reserved for very rare edge cases where you need to break out of CliWrap's abstraction model (such as #79) and configure the low-level process properties/behavior manually. Do not rely on it in the general case.
If something breaks when using this overload, you're on your own.