ProcessRunner typedef

ProcessRunner = Future<ProcessResult> Function(String executable, List<String> arguments)

Runs an external process; injectable so command construction can be unit tested without invoking schtasks/sc.

Implementation

typedef ProcessRunner =
    Future<ProcessResult> Function(String executable, List<String> arguments);