util/process_runner library
Functions
-
runCommand(
String executable, List< String> args, {String? workingDirectory, bool silent = false}) → Future<int> - Runs a shell command and streams output. Returns the exit code.
-
runOrFail(
String executable, List< String> args, {String? workingDirectory, String? errorMessage, bool silent = false}) → Future<void> - Runs a command and throws if it fails.