stream method
Experiemental - allows you to get a stream of the output written by the called process.
Implementation
Stream<String> stream(
{bool runInShell = false,
String? workingDirectory,
bool nothrow = false,
bool includeStderr = true}) {
final progress = Progress.stream(includeStderr: includeStderr);
cmd.startStreaming(this,
runInShell: runInShell,
progress: progress,
workingDirectory: workingDirectory,
nothrow: nothrow);
return progress.stream;
}