stream method
Experimental - 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,
bool extensionSearch = true,
}) {
final progress = Progress.stream(includeStderr: includeStderr);
cmd.startStreaming(
this,
runInShell: runInShell,
progress: progress,
workingDirectory: workingDirectory,
nothrow: nothrow,
extensionSearch: extensionSearch,
);
return progress.stream;
}