Wraps a for managed lifecycle control.
public sealed class ExternalProcess : ISuspendableExternalProcess, IExternalProcess, IDisposable
kind:method, kind:property, kind:ctor. Press Esc to clear.ConfigurationGets the ProcessConfiguration for this external process.ExitConfigurationGets the ProcessExitConfiguration controlling exit handling.HasExitedIndicates whether the external process has exited.HasStartedIndicates whether the external process has started.CaptureBufferedResultAsync(CancellationToken, Nullable<Int64>, Nullable<Int64>)Asynchronously feeds Configuration's redirected standard input to the child concurrently with capturing its output, then waits for the external process to exit or a specified timeout period to elapse.Dispose()Disposes of the internal managed and unmanaged resources.Kill()Terminates the associated external process based on the specified exit configuration. The behaviour depends on ExitConfiguration.RequestedCancellationExitBehaviour: ForcefulExit and GracefulExit wait for the process to exit (bounded by the configured timeout policy) and terminate it if it is still running; WaitForExit only waits for the process to exit on its own and does not terminate it; any other (out-of-range) value falls back to .Resume()Resumes the execution of a suspended external process.Start()Synchronously starts the external process and returns its process ID. Stdin piping is not performed by this method.StartAsync(ProcessConfiguration, CancellationToken)Starts the external process asynchronously using the specified configuration, feeding that configuration's standard input to the child.StartAsync(CancellationToken)Asynchronously starts the external process, feeding this instance's configured standard input to the child when redirection is enabled.Suspend()Suspends the external process that is currently running.WaitForExitOrTimeoutAsync(CancellationToken)Asynchronously waits for the process to exit or a specified timeout period elapses.