Skip to content

getOutAndErr

getOutAndErr(pipe: Pipe)

ParameterTypeDescription
pipePipe

NOTE: Program must be piped with |all. For example, let (out, err) = program-name |all getOutAndErr

Returns

(Tuple) A tuple contain an stdout stream and an stderr stream.