Proc 0.1.1
See the version list below for details.
dotnet add package Proc --version 0.1.1
NuGet\Install-Package Proc -Version 0.1.1
<PackageReference Include="Proc" Version="0.1.1" />
<PackageVersion Include="Proc" Version="0.1.1" />
<PackageReference Include="Proc" />
paket add Proc --version 0.1.1
#r "nuget: Proc, 0.1.1"
#:package Proc@0.1.1
#addin nuget:?package=Proc&version=0.1.1
#tool nuget:?package=Proc&version=0.1.1
Proc
- Wraps
System.Diagnostics.Processas anIObservableProcessObservablestream based wrapperEventBasedObservableProcessevent based wrapper
- Exposes a super handy static
Proc.Startfor the quick oneliners
Proc.Start
start a process and block using the default timeout of 1 minute
var result = Proc.Start("ipconfig", "/all");
Provide a custom time out and an IConsoleOutWriter that can out put to console
while this line is blocking. This implementation writes stderr in red.
var result = Proc.Start("ipconfig", TimeSpan.FromSeconds(10), new ConsoleOutColorWriter());
Even more explicit you can pass StartArguments to control how the process should start.
var args = new StartArguments("ipconfig", "/all")
{
WorkingDirectory = ..
}
Proc.Start(args, TimeSpan.FromSeconds(10));
result has the following propeties
Completedtrue if the program completed before the timeoutConsoleOuta list the console out message asLineOutinstances whereErroron each indicating wheter it was written onstderror notExitCode
NOTE ConsoleOut will always be set regardless of whether an IConsoleOutWriter is provided
ObservableProcess
The heart of it all this is an IObservable<CharactersOut>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
| Universal Windows Platform | uap was computed. uap10.0 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.3
- System.Diagnostics.Process (= 4.3.0)
- System.Threading.Thread (= 4.3.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Proc:
| Package | Downloads |
|---|---|
|
Elastic.Elasticsearch.Managed
Provides an observable ElasticsearchNode abstraction that can be used to wrap an elasticsearch process. Also ships with an cluster abstraction that can start one or more ElasticsearchNode's |
|
|
Proc.Fs
Dependency free reactive abstraction around Process, exposes handy static methods for the quick one-liners |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Proc:
| Repository | Stars |
|---|---|
|
elastic/elasticsearch-net
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
|
|
|
elastic/apm-agent-dotnet
|
|
|
opensearch-project/opensearch-net
OpenSearch .NET Client
|
|
|
editorconfig/editorconfig-core-net
EditorConfig Core library and command line utility written in C# for .NET/Mono http://editorconfig.org
|
| Version | Downloads | Last Updated |
|---|---|---|
| 0.11.0 | 1,801 | 11/12/2025 |
| 0.10.0 | 307 | 11/12/2025 |
| 0.9.1 | 43,726 | 12/3/2024 |
| 0.9.0 | 15,668 | 12/2/2024 |
| 0.8.2 | 2,345 | 10/2/2024 |
| 0.8.1 | 5,476 | 1/16/2024 |
| 0.8.0 | 758 | 1/15/2024 |
| 0.7.3 | 640 | 1/8/2024 |
| 0.7.2 | 613 | 1/7/2024 |
| 0.7.1 | 518 | 1/6/2024 |
| 0.7.0 | 501 | 1/5/2024 |
| 0.6.2 | 69,534 | 8/28/2019 |
| 0.6.1 | 265,926 | 6/20/2019 |
| 0.6.0 | 1,431 | 6/20/2019 |
| 0.5.0 | 1,382 | 6/20/2019 |
| 0.4.3 | 6,020 | 3/29/2019 |
| 0.4.2 | 1,465 | 2/13/2019 |
| 0.4.1 | 1,560 | 11/28/2018 |
| 0.4.0 | 1,527 | 11/28/2018 |
| 0.3.8 | 1,543 | 11/27/2018 |
| 0.3.7 | 15,262 | 8/31/2018 |
| 0.3.6 | 1,685 | 8/27/2018 |
| 0.3.5 | 1,646 | 8/27/2018 |
| 0.3.4 | 1,638 | 8/27/2018 |
| 0.3.3 | 1,645 | 8/23/2018 |
| 0.3.2 | 1,719 | 8/17/2018 |
| 0.3.1 | 1,673 | 8/17/2018 |
| 0.3.0 | 1,663 | 8/17/2018 |
| 0.2.1 | 10,317 | 5/30/2018 |
| 0.2.0 | 1,885 | 5/30/2018 |
| 0.1.10 | 2,118 | 5/7/2018 |
| 0.1.9 | 1,781 | 5/7/2018 |
| 0.1.8 | 2,115 | 5/7/2018 |
| 0.1.7 | 1,969 | 5/7/2018 |
| 0.1.6 | 2,035 | 5/7/2018 |
| 0.1.5 | 2,025 | 5/7/2018 |
| 0.1.4 | 2,194 | 4/18/2018 |
| 0.1.3 | 2,035 | 2/17/2018 |
| 0.1.1 | 2,161 | 2/12/2018 |