Logo ProcessKit API Reference

PipelineExtensions Type

`Command.Pipe` builds a two-stage `Pipeline`; further `Pipeline.Pipe` calls extend it.

Static members

Static member Description

PipelineExtensions.Pipe(command, next)

Full Usage: PipelineExtensions.Pipe(command, next)

Parameters:
Returns: Pipeline

Start a pipeline that feeds this command's stdout into `next`'s stdin. Rejects (`ArgumentException`) either stage setting a per-stage `Timeout`/`IdleTimeout`/`Retry`/`CancelOn`, or `next` (stage 1) setting a `Stdin` source — a pipeline cannot honour those (see the `Pipeline` type doc). `command` is stage 0, so a `Stdin` source on it (feeding the whole chain) is allowed.

command : Command
next : Command
Returns: Pipeline

Type something to start searching.