Soenneker.Utils.Process
4.0.1531
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.Process --version 4.0.1531
NuGet\Install-Package Soenneker.Utils.Process -Version 4.0.1531
<PackageReference Include="Soenneker.Utils.Process" Version="4.0.1531" />
<PackageVersion Include="Soenneker.Utils.Process" Version="4.0.1531" />
<PackageReference Include="Soenneker.Utils.Process" />
paket add Soenneker.Utils.Process --version 4.0.1531
#r "nuget: Soenneker.Utils.Process, 4.0.1531"
#:package Soenneker.Utils.Process@4.0.1531
#addin nuget:?package=Soenneker.Utils.Process&version=4.0.1531
#tool nuget:?package=Soenneker.Utils.Process&version=4.0.1531
Soenneker.Utils.Process
A utility library implementing useful process operations.
Installation
dotnet add package Soenneker.Utils.Process
Quick start
using Soenneker.Utils.Process.Registrars;
services.AddProcessUtilAsSingleton();
Common operations
CommandExists()- Checks whether an executable can be resolved without launching it.CommandExistsAndRuns()- Resolves the executable and runs its version command within an optional timeout.StartAndGetOutput()- Starts a process, waits for it, and returns captured output; timeout and cancellation can stop the wait.StartIfNotRunning()- Starts only when no process with the name exists, returning captured output lines.KillByNames()- Kills processes matching any supplied name, optionally waiting for exit.Kill()- Kills processes with the exact requested name, optionally waiting for exit.KillThatStartWith()- Kills processes whose names begin with the prefix, optionally waiting for exit.IsRunning()- Returnstruewhen a process with the exact name is running.BashRun()- Runs the command through Bash in the requested working directory and waits for completion.CmdRun()- Runs the command through Windowscmd.exein the requested working directory and waits for completion.Start()- Starts a process, waits for completion, and returns captured output as lines.StartDetached()- Starts without waiting and returns theProcesswhen available.
The package also includes one additional operation for more specialized cases.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Task (>= 4.0.127)
- Soenneker.Utils.Runtime (>= 4.0.1074)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Soenneker.Utils.Process:
| Package | Downloads |
|---|---|
|
Soenneker.Git.Util
Asynchronous Git operations, repository discovery, and bounded batch processing using bundled Git distributions. |
|
|
Soenneker.Utils.Dotnet
A utility library for the dotnet executable |
|
|
Soenneker.Kiota.Util
A utility library for Kiota and OpenAPI related operations |
|
|
Soenneker.Compression.SevenZip
A utility library for 7zip compression related operations |
|
|
Soenneker.Python.Util
A utility library for python related operations |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1598 | 1,276 | 10/15/2026 |
| 4.0.1597 | 60 | 10/15/2026 |
| 4.0.1596 | 718 | 10/14/2026 |
| 4.0.1595 | 2,488 | 10/14/2026 |
| 4.0.1594 | 3,122 | 10/14/2026 |
| 4.0.1592 | 2,514 | 10/14/2026 |
| 4.0.1586 | 1,224 | 10/13/2026 |
| 4.0.1585 | 72 | 10/13/2026 |
| 4.0.1584 | 221 | 10/13/2026 |
| 4.0.1581 | 4,324 | 10/12/2026 |
| 4.0.1580 | 118 | 10/12/2026 |
| 4.0.1579 | 2,032 | 10/12/2026 |
| 4.0.1578 | 5,194 | 10/11/2026 |
| 4.0.1577 | 94 | 10/11/2026 |
| 4.0.1576 | 23,490 | 10/4/2026 |
| 4.0.1575 | 5,124 | 9/30/2026 |
| 4.0.1574 | 4,671 | 9/29/2026 |
| 4.0.1573 | 3,975 | 9/29/2026 |
| 4.0.1572 | 6,769 | 9/25/2026 |
| 4.0.1531 | 2,276 | 8/30/2026 |
Update dependency Soenneker.Utils.Runtime to 4.0.1074 (#2192)