ProcessGroupModule

class Object
trait Matchable
class Any
trait Prox

Type members

Classlikes

Companion:
class
trait ProcessGroup[O, E] extends ProcessLike with ProcessGroupConfiguration[O, E]

Process group is two or more processes attached to each other

Process group is two or more processes attached to each other

This implements a pipeline of processes. The input of the first process and the output of the last process is redirectable with the RedirectableInput and RedirectableOutput traits. The processes are attached to each other's input/output streams, the pipe between them is customizable.

The error streams are also redirectable with the RedirectableErrors trait.

Type parameters:
E

Error output type

O

Output type

Companion:
object
trait ProcessGroupResult[+O, +E]

Result of an executed process group

Result of an executed process group

Type parameters:
E

Error output type

O

Output type

trait RunningProcessGroup[O, E, +Info]

Representation of a running process group

Representation of a running process group

Type parameters:
E

Error output type

Info

Runner-specific per-process information type

O

Output type

case class SimpleProcessGroupResult[+O, +E](exitCodes: Map[Process[Unit, Unit], ProxExitCode], output: O, errors: Map[Process[Unit, Unit], E]) extends ProcessGroupResult[O, E]

Default implementation of ProcessGroupResult

Default implementation of ProcessGroupResult