runCmd function
Future<ProcessResult>
runCmd(
- ProcessCmd cmd, {
- bool? verbose,
- bool? commandVerbose,
- Stream<
List< ? stdin,int> > - StreamSink<
List< ? stdout,int> > - StreamSink<
List< ? stderr,int> >
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);