interpreter property
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. Possible string values are:
- "INTERPRETER_UNSPECIFIED" : If the interpreter is not specified, the
value defaults to
NONE
. - "NONE" : Indicates that the file is run as follows on each operating system: + For Linux VMs, the file is ran as an executable and the interpreter might be parsed from the shebang line of the file. + For Windows VM, this value is not supported.
- "SHELL" : Indicates that the file is run with
/bin/sh
on Linux andcmd
on Windows. - "POWERSHELL" : Indicates that the file is run with PowerShell.
Implementation
core.String? interpreter;