Progress.print constructor
Progress.print({
- bool capture = false,
Use this progress to print both stdout and stderr.
If capture
is true (defaults to false) the output to
stdout and stderr is also captured and will be available
in lines once the process completes.
Implementation
Progress.print({bool capture = false})
: _includeStdout = true,
_includeStderr = true,
_captureStdout = capture,
_captureStderr = capture {
_wireStreams(print, printerr);
}