runCommand abstract method

Future<(CommandResult?, CommandError?)> runCommand(
  1. String executable,
  2. List<String> arguments, {
  3. List<String> redactions,
  4. Map<String, String> environment,
})

Runs a command as part of the step

The output is shown and logged like that of a CommandStep, and the redactions are applied to the command, its output, and the returned result

The environment is added to the env variables of build_pipe for the command

Implementation

Future<(CommandResult?, CommandError?)> runCommand(
  String executable,
  List<String> arguments, {
  List<String> redactions,
  Map<String, String> environment,
});