runExecutableArguments method

  1. @override
Future<ProcessResult> runExecutableArguments(
  1. String executable,
  2. List<String> arguments, {
  3. void onProcess(
    1. Process process

Run a single executable with arguments, resolving the executable if needed.

Returns a process result (or throw if specified in the shell).

onProcess is called for each started process.


Future<ProcessResult> runExecutableArguments(
    String executable, List<String> arguments,
    {void Function(Process process)? onProcess}) async {
  return _runLocked((runId) async {
    return _lockedRunExecutableArguments(runId, executable, arguments,
        onProcess: onProcess);