Optional
cwdOptional
envThe environment of the executed program or shell. If omitted the parent process' environment is used.
Optional
shellConfiguration of the shell when task type is shell
Optional
args?: string[]The arguments to be passed to the shell executable to run in command mode (e.g ['-c'] for bash or ['/S', '/C'] for cmd.exe).
The shell to use.
The 'current working directory' the task will run in. Can be a uri-as-string or plain string path. If the cwd is meant to be somewhere under the workspace, one can use the variable
${workspaceFolder}
, which will be replaced by its path, at runtime. If not specified, defaults to the workspace root. ex: cwd: '${workspaceFolder}/foo'