process-api-net11

安装量: 2K
排名: #10067

安装

npx skills add https://github.com/dotnet/skills --skill process-api-net11

Process API Improvements — .NET 11 New APIs added to System.Diagnostics.Process in .NET 11 simplify process management, eliminate boilerplate, and prevent common deadlock patterns when capturing output in .NET 11 or later applications. When to Use Running or orchestrating external processes in a .NET 11 (or later) project. Needing to start a process, wait for it to exit, and capture its output/error streams without risking deadlocks ( Process.RunAndCaptureText[Async] ). Wanting to ensure child processes are automatically terminated when the parent process exits ( KillOnParentExit ). Requiring lightweight, low-overhead process creation via SafeProcessHandle on supported platforms. Requiring fine-grained control over handle inheritance ( InheritedHandles ) or starting detached processes ( StartDetached ). When Not to Use The project targets .NET 10 or earlier — these APIs are not available before .NET 11. The default Process.Start() is sufficient and does not require output capturing or advanced lifecycle rules. Target Framework Show more Installs 1.8K Repository dotnet/skills GitHub Stars 6.3K First Seen Oct 12, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

← 返回排行榜