XProcess 1.3.1.1

dotnet add package XProcess --version 1.3.1.1
NuGet\Install-Package XProcess -Version 1.3.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XProcess" Version="1.3.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XProcess --version 1.3.1.1
#r "nuget: XProcess, 1.3.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XProcess as a Cake Addin
#addin nuget:?package=XProcess&version=1.3.1.1

// Install XProcess as a Cake Tool
#tool nuget:?package=XProcess&version=1.3.1.1

XProcess NuGet Package unit tests

This is a library for .NET that allows you to invoke an external process, and expose its output as an async stream in C# 8.0.

Usage

using Toolbelt.Diagnostics;
...
using var process = await XProcess.Start("foo.exe").WaitForExitAsync();
if (process.ExitCode != 0) throw new Exception(process.Output);
using Toolbelt.Diagnostics;
...
using var process = XProcess.Start("foo.exe");
await foreach(string output in process.GetOutputAsyncStream())
{
  // do something.
}
// When reaching here, it means the process was exited.
using Toolbelt.Diagnostics;
...
using var process = XProcess.Start("foo.exe");
var found = await process.WaitForOutputAsync(str => str.Contains("Now listening on:"), millsecondsTimeout: 5000);
// If the "found" is false, it means the process had not outputed "Now listening on:" in 5 sec.

Release Notes

Release notes is here.

License

Mozilla Public License ver.2.0

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 is compatible.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on XProcess:

Repository Stars
jsakamoto/BlazorWasmPreRendering.Build
When you publish your Blazor Wasm app, this package pre-renders and saves the app as static HTML files in your public folder.
jsakamoto/Toolbelt.Blazor.I18nText
The class library that provides the ability to localize texts on your Blazor app!
jsakamoto/Toolbelt.Blazor.HeadElement
Head element support (change the document title, "meta" elements such as OGP, and "link" elements) for Blazor apps.
jsakamoto/nupkg-selenium-webdriver-chromedriver
The NuGet package include Selenium Google Chrome Driver files for Win32, macOS, and Linux.
jsakamoto/Toolbelt.Blazor.HotKeys
This is a class library that provides configuration-centric keyboard shortcuts for your Blazor WebAssembly (client-side) apps.
Version Downloads Last updated
1.3.1.1 345 12/31/2023
1.3.1 109 12/30/2023
1.3.0 1,740 4/18/2022
1.2.0 623 1/17/2022
1.1.0 425 1/16/2022
1.0.0-beta.1 303 1/17/2021

v.1.3.1.1
- Update: add the GitHub Actions status badge to the README.
- Fix: the release notes were not included in the package.


To see all the change logs, please visit the following URL.
- https://github.com/jsakamoto/XProcess/blob/master/RELEASE-NOTES.txt