Backport .NET 11 System.Diagnostics.Process API docs from dotnet/runtime#12888
Draft
adamsitnik with Copilot wants to merge 2 commits into
Draft
Backport .NET 11 System.Diagnostics.Process API docs from dotnet/runtime#12888adamsitnik with Copilot wants to merge 2 commits into
adamsitnik with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
Backport .NET 11 Process API XML docs from dotnet/runtime
Backport .NET 11 System.Diagnostics.Process API docs from dotnet/runtime
Jul 20, 2026
Copilot created this pull request from a session on behalf of
adamsitnik
July 20, 2026 11:26
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports .NET 11 System.Diagnostics.Process-related API reference documentation into this repo, replacing placeholder text for newly introduced types and members so the published docs reflect the new APIs and their behaviors.
Changes:
- Adds descriptive summaries/values/params for new .NET 11
Processmembers (including run/capture and stream-reading APIs) and related new types. - Documents new
ProcessStartInfomembers (notablyInheritedHandles,KillOnParentExit, standard-handle SafeFileHandle properties, andStartDetached) with detailed platform-specific remarks. - Improves constructor/property docs for
ProcessExitStatus,ProcessOutputLine, andProcessTextOutput.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| xml/System.Diagnostics/ProcessTextOutput.xml | Replaces placeholder summaries/param docs for ProcessTextOutput and its members. |
| xml/System.Diagnostics/ProcessStartInfo.xml | Adds detailed docs/remarks for new .NET 11 members such as handle inheritance, parent-exit behavior, and standard handle properties. |
| xml/System.Diagnostics/ProcessOutputLine.xml | Documents the new ProcessOutputLine type and its members. |
| xml/System.Diagnostics/ProcessExitStatus.xml | Documents the new ProcessExitStatus type, including Unix signal semantics. |
| xml/System.Diagnostics/Process.xml | Documents new .NET 11 Process APIs for running processes and reading/capturing output. |
adamsitnik
reviewed
Jul 20, 2026
adamsitnik
left a comment
Member
There was a problem hiding this comment.
@copilot address the feedback
Comment on lines
812
to
813
| </Docs> | ||
| </Member> | ||
| <Member MemberName="KillOnParentExit"> | ||
| <MemberSignature Language="C#" Value="public bool KillOnParentExit { get; set; }" /> |
Comment on lines
859
to
860
| </Docs> | ||
| </Member> | ||
| <Member MemberName="LoadUserProfile"> | ||
| <MemberSignature Language="C#" Value="public bool LoadUserProfile { get; set; }" /> |
Comment on lines
1329
to
1330
| </Docs> | ||
| </Member> | ||
| <Member MemberName="StandardInputEncoding"> | ||
| <MemberSignature Language="C#" Value="public System.Text.Encoding? StandardInputEncoding { get; set; }" /> |
Comment on lines
1408
to
1409
| </Docs> | ||
| </Member> | ||
| <Member MemberName="StandardOutputEncoding"> | ||
| <MemberSignature Language="C#" Value="public System.Text.Encoding? StandardOutputEncoding { get; set; }" /> |
Comment on lines
1529
to
1530
| </Docs> | ||
| </Member> | ||
| <Member MemberName="UseCredentialsForNetworkingOnly"> | ||
| <MemberSignature Language="C#" Value="public bool UseCredentialsForNetworkingOnly { get; set; }" /> |
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.
Backports XML documentation for all new .NET 11
System.Diagnostics.ProcessAPIs. Previously all new members had "To be added" placeholder docs.New types
ProcessExitStatus—Canceled,ExitCode,Signalproperties and constructorProcessOutputLine—Content,StandardErrorproperties and constructorProcessTextOutput—ExitStatus,ProcessId,StandardError,StandardOutputproperties and constructorProcess— 16 new methodsReadAllBytes/ReadAllBytesAsyncReadAllLines/ReadAllLinesAsync— includes remarks on stderr-first orderingReadAllText/ReadAllTextAsyncRun(startInfo)/Run(fileName)RunAndCaptureText(startInfo)/RunAndCaptureText(fileName)RunAndCaptureTextAsync(startInfo)/RunAndCaptureTextAsync(fileName)RunAsync(startInfo)/RunAsync(fileName)StartAndForget(startInfo)/StartAndForget(fileName)— includes remarks on fire-and-forget semanticsProcessStartInfo— 7 new members(fileName, IEnumerable<string>)InheritedHandles— includes detailed remarks on Windows (SetHandleInformation) and Unix (FD_CLOEXEC) handle inheritance behavior, concurrency caveats, and supported handle typesKillOnParentExit— includes remarks on Windows Job Objects and Linuxprctl(PR_SET_PDEATHSIG)implementationStandardErrorHandle,StandardInputHandle,StandardOutputHandleStartDetached