Progress.printStdOut constructor

Progress.printStdOut({
  1. bool capture = false,
  2. Encoding encoding = utf8,
})

Use this progress to only output data sent to stdout. If capture is true (defaults to false) the output to stdout is also captured and will be available in lines once the process completes. Use encoding to control how output bytes are decoded into strings.

Implementation

factory Progress.printStdOut(
        {bool capture = false, Encoding encoding = utf8}) =>
    ProgressStdOutImpl(capture: capture, encoding: encoding);