ExecStepConfig
import type { ExecStepConfig } from "https://googleapis.deno.dev/v1/osconfig:v1.ts";
Common configurations for an ExecStep.
interface ExecStepConfig {
allowedSuccessCodes?: number[];
gcsObject?: GcsObject;
interpreter?:
| "INTERPRETER_UNSPECIFIED"
| "NONE"
| "SHELL"
| "POWERSHELL";
localPath?: string;
}§Properties
§
allowedSuccessCodes?: number[]
[src]Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
§
interpreter?: "INTERPRETER_UNSPECIFIED" | "NONE" | "SHELL" | "POWERSHELL"
[src]The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).