ProcessPipeline Class
Represents an ordered set of commands connected through standard streams.
public sealed class ProcessPipelineMethods
| Name | Description |
|---|---|
| ExecuteAsync(CancellationToken) | Executes the pipeline and returns the result of the last command. |
| ExecuteBufferedAsync(CancellationToken) | Executes the pipeline with buffering enabled for the last command. |
ExecuteAsync(CancellationToken)
ProcessPipeline.csExecutes the pipeline and returns the result of the last command.
public Task<ProcessResult> ExecuteAsync(CancellationToken cancellationToken = default)ExecuteBufferedAsync(CancellationToken)
ProcessPipeline.csExecutes the pipeline with buffering enabled for the last command.
public Task<BufferedProcessResult> ExecuteBufferedAsync(CancellationToken cancellationToken = default)Operators
| Name | Description |
|---|---|
| operator |(ProcessPipeline, ProcessWrapper) | Appends a command to the pipeline. |
| operator |(ProcessWrapper, ProcessPipeline) | Prepends a command to the pipeline. |
op_BitwiseOr overloads
operator |(ProcessPipeline, ProcessWrapper)
ProcessPipeline.csAppends a command to the pipeline.
public static ProcessPipeline operator |(ProcessPipeline left, ProcessWrapper right)operator |(ProcessWrapper, ProcessPipeline)
ProcessPipeline.csPrepends a command to the pipeline.
public static ProcessPipeline operator |(ProcessWrapper left, ProcessPipeline right)