runCommand method
Implementation
Future<String> runCommand(
List<String> arguments, {
Map<String, String>? environment,
Logger? logger,
}) {
return common.runCommand(
executablePath,
arguments,
environment: {
if (environment != null) ...environment,
if (rustupHome != null) 'RUSTUP_HOME': rustupHome!,
if (cargoHome != null) 'CARGO_HOME': cargoHome!,
},
logger: logger ?? this.logger,
);
}