stdoutStream method

Stream<String> stdoutStream()

Returns a copy of stdout as a single-subscriber stream.

Each time this is called, it will return a separate copy that will start from the beginning of the process.

This can be overridden by subclasses to return a derived standard output stream. This stream will then be used for stdout.

Implementation

Stream<String> stdoutStream() => _stdoutSplitter.split();