runCmd function Null safety

Future<ProcessResult> runCmd(
  1. ProcessCmd cmd,
  2. {bool? verbose,
  3. bool? commandVerbose,
  4. Stream<List<int>>? stdin,
  5. StreamSink<List<int>>? stdout,
  6. StreamSink<List<int>>? stderr}
)

Command runner

Execute a predefined ProcessCmd command

if commandVerbose is true, it writes the command line executed preceeded by $ to stdout. It streams stdout/error if verbose is true. verbose implies commandVerbose

Implementation

///
/// Execute a predefined ProcessCmd command
///
/// if [commandVerbose] is true, it writes the command line executed preceeded by $ to stdout. It streams
/// stdout/error if [verbose] is true.
/// [verbose] implies [commandVerbose]
///
Future<ProcessResult> runCmd(ProcessCmd cmd,
        {bool? verbose,
        bool? commandVerbose,
        Stream<List<int>>? stdin,
        StreamSink<List<int>>? stdout,
        StreamSink<List<int>>? stderr}) =>
    processCmdRun(cmd,
        verbose: verbose,
        commandVerbose: commandVerbose,
        stdin: stdin,
        stdout: stdout,
        stderr: stderr);