ProcessUtilsExt extension
- on
-
- ProcessUtils
Methods
-
runCommand<
T> (List< String> cmd, {T? parseResult(RunResult result)?, T? parseFail(dynamic error, StackTrace stack)?, Spinner? spinner, bool throwOnError = true, LoggerService? logger, Duration? timeout = const Duration(seconds: 10), String label = 'commandRunner'}) → Future<T?> -
runWithOutput(
List< String> cmd, {required ProcessManager processManager, required LoggerService logger, Duration? timeout, bool showStderr = false}) → Future<RunResult>