The capability to redirect all the error outputs simultaneously of a process group
- Type Params
- P
Self type without the RedirectableErrors capability
- Companion
- object
Value members
Abstract methods
The low level operation to attach an error output to all the processes in the group.
The low level operation to attach an error output to all the processes in the group.
Use one of the other methods of this trait or the advanced interface represented by customizedPerProcess for convenience.
This is the place where the process group's error output type gets calculated using the GroupErrorRedirectionType and OutputRedirectionType type classes.
- Type Params
- E
Error output type
- OR
Error output redirection type
- R
Error output grouped redirection type
- Value Params
- groupErrorRedirectionType
Helper for dependent error output type
- outputRedirectionType
Helper for dependent error output type
- target
Redirection target
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Concrete methods
Redirects the error outputs to a sink.
Redirects the error outputs to a sink.
The process error output type will be Unit. An alias for errorsToSink
- Value Params
- sink
Target sink
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
The process error output type will be the same as the pipe's output type. An alias for errorsToFoldMonoid
- Type Params
- O
Output type of the pipe. Must have a monoid instance.
- Value Params
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and collects its output to a vector
Redirects the error outputs to a pipe and collects its output to a vector
The process error output type will be a vector of the pipe's output type. An alias for errorsToVector
- Type Params
- O
Output type of the pipe
- Value Params
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and drains it regardless of its output type.
Redirects the error outputs to a pipe and drains it regardless of its output type.
The process error output type will be Unit.
- Type Params
- O
Output type of the pipe
- Value Params
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
The process error output type will be the same as the pipe's output type. An alias for !>#
- Type Params
- O
Output type of the pipe. Must have a monoid instance.
- Value Params
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a sink.
Redirects the error outputs to a sink.
The process error output type will be Unit. An alias for !>
- Value Params
- sink
Target sink
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and collects its output to a vector
Redirects the error outputs to a pipe and collects its output to a vector
The process error output type will be a vector of the pipe's output type. An alias for !>?
- Type Params
- O
Output type of the pipe
- Value Params
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and folds it with a custom function.
Redirects the error outputs to a pipe and folds it with a custom function.
The process error output type will be R.
- Type Params
- O
Output type of the pipe
- R
Result type of the fold
- Value Params
- fn
The fold function
- init
The initial value for the fold
- pipe
Target pipe
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.