CAPTURE

object CAPTURE : Redirect

This will ensure that the stream content is returned as process's return. If both stdout and stderr are using this mode, their output will be correctly merged.

It's also possible to consume this content without delay by using process's consumer argument.

See also