ShellExecution
Represents a task execution that happens inside a shell.
Constructors
Link copied to clipboard
Creates a shell execution with a full command line.
constructor(command: JsAny, args: ReadonlyArray<JsAny>, options: ShellExecutionOptions = definedExternally)
Creates a shell execution with a command and arguments. For the real execution the editor will construct a command line from the command and the arguments. This is subject to interpretation especially when it comes to quoting. If full control over the command line is needed please use the constructor that creates a ShellExecution
with the full command line.
Properties
Link copied to clipboard
The shell args. Is undefined
if created with a full command line.
Link copied to clipboard
The shell command line. Is undefined
if created with a command and arguments.
Link copied to clipboard
The shell options used when the command line is executed in a shell. Defaults to undefined.