ShellExecutionOptions

Options for a shell execution

Online Documentation

Properties

Link copied to clipboard
abstract var cwd: String?

The current working directory of the executed shell. If omitted the tools current workspace root is used.

Link copied to clipboard
abstract var env: Record<JsString, JsString>?

The additional environment of the executed shell. If omitted the parent process' environment is used. If provided it is merged with the parent process' environment.

Link copied to clipboard
abstract var executable: String?

The shell executable.

Link copied to clipboard

The arguments to be passed to the shell executable used to run the task. Most shells require special arguments to execute a command. For example bash requires the -c argument to execute a command, PowerShell requires -Command and cmd requires both /d and /c.

Link copied to clipboard

The shell quotes supported by this shell.