Module Google::Cloud::OsConfig::V1::OSPolicy::Resource::ExecResource::Exec::Interpreter (v0.9.1)

The interpreter to use.

Constants

INTERPRETER_UNSPECIFIED

value: 0
Defaults to NONE.

NONE

value: 1
If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have a href="https://en.wikipedia.org/wiki/Shebang_(Unix)" class="external"shebang lines.

SHELL

value: 2
Indicates that the script runs with /bin/sh on Linux and cmd.exe on Windows.

POWERSHELL

value: 3
Indicates that the script runs with PowerShell.