DoctorProcessRunner typedef

DoctorProcessRunner = Future<ProcessResult> Function(String executable, List<String> args, {String? workingDirectory})

Functional type for running a subprocess (named differently to avoid export collision with version_checker's RunProcessFunction).

Implementation

typedef DoctorProcessRunner =
    Future<ProcessResult> Function(
      String executable,
      List<String> args, {
      String? workingDirectory,
    });