Info
Version: | 5.1.0 |
Author(s): | Gerrie Electric |
Last Update: | Tuesday, May 18, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Gerrie.Extensions.SubprocessManagement |
Install
Install-Package Gerrie.Extensions.SubprocessManagement
dotnet add package Gerrie.Extensions.SubprocessManagement
paket add Gerrie.Extensions.SubprocessManagement
Gerrie.Extensions.SubprocessManagement Download (Unzip the "nupkg" after downloading)
Tracks the lifetime of subprocesses registered with subprocess management and automatically restarts and subprocesses that exit unexpectedly.
Register Subprocess management with the DI container
- services.AddSubprocessManagement();
Usage:
- Get the ISubprocessManager interface from your DI container. use the extension methods to start, stop and query subprocesses, or enumerate the observable collection directly to determine which subprocesses are running.
This package does not automatically capture stdout or provide any interface to facilitate inter-process communication. You are responsible for implementing that in your project.