DeploymentProcessRunner typedef
DeploymentProcessRunner =
Future<int> Function(String executable, List<String> arguments, String workingDirectory)
Executes an external deployment process and returns its exit code.
executable is the process name, arguments are passed unchanged, and
workingDirectory is the project directory in which the process runs.
Supplying a runner is useful for embedding the command or testing its
generated deployment artifacts without starting external processes.
Implementation
typedef DeploymentProcessRunner =
Future<int> Function(
String executable,
List<String> arguments,
String workingDirectory,
);