-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Implement WaitForExitAsync for System.Diagnostics.Process #1278
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
Merged
stephentoub
merged 15 commits into
dotnet:master
from
MattKotsenas:feature/process-waitforexitasync
Feb 13, 2020
+491
−10
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9aeb3ce
Add Process.WaitForExitAsync() and associated unit tests
MattKotsenas a92f35a
Review feedback: Change WaitForExitAsync to return Task
MattKotsenas 3de41e0
Remove asserts on Task properties
MattKotsenas fb85f53
Fix unit test to not create async void
MattKotsenas 4ff720c
Remove implicit delegate creation for ExitHandler
MattKotsenas 21c1d48
Flow CancellationToken to OperationCanceledExceptions
MattKotsenas 5b9e841
Do not require EnableRaisingEvents to already be true
MattKotsenas 90d4c1a
Follow style guidelines in ProcessWaitingTests
MattKotsenas 7045782
Update tests to follow coding guidelines
MattKotsenas 738abbf
Update WaitForExitAsync to early out in canceled case
MattKotsenas 2c44341
Add a test for completion without a cancellation token
MattKotsenas 4555b12
Address PR feedback in xmldocs
MattKotsenas 2c42317
Update xmldocs per code review feedback
MattKotsenas a292747
Update function guards per code review feedback
MattKotsenas 54a556a
Refactor test to verify async as well as sync cancellation
MattKotsenas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.