RunResult constructor
- bool? addPreviousOutputInEnv,
- dynamic archive,
- List<
String> ? archivePaths, - List<
String> ? assetPaths, - Map<
String, dynamic> ? assets, - required String command,
- String? dir,
- Map<
String, String> ? environment, - List<
String> ? interpreter, - Logging? logging,
- required String stderr,
- String? stdin,
- required String stdout,
Creates a new RunResult.
addPreviousOutputInEnv If the previous command's stdout and stderr (as generated by the prior create/update) is
archive An archive asset containing files found after running the command.
archivePaths A list of path globs to return as a single archive asset after the command completes.
assetPaths A list of path globs to read after the command completes.
assets A map of assets found after running the command.
command The command to run.
dir The directory from which to run the command from. If dir does not exist, then
environment Additional environment variables available to the command's process.
interpreter The program and arguments to run the command.
logging If the command's stdout and stderr should be logged. This doesn't affect the capturing of
stderr The standard error of the command's process
stdin Pass a string to the command's process as standard in
stdout The standard output of the command's process
Implementation
const RunResult({
this.addPreviousOutputInEnv,
this.archive,
this.archivePaths,
this.assetPaths,
this.assets,
required this.command,
this.dir,
this.environment,
this.interpreter,
this.logging,
required this.stderr,
this.stdin,
required this.stdout,
});