ShellExecution

constructor(commandLine: String, options: ShellExecutionOptions = definedExternally)(source)

Creates a shell execution with a full command line.

Parameters

commandLine

The command line to execute.

options

Optional options for the started the shell.

Online Documentation


constructor(command: JsAny, args: ReadonlyArray<JsAny>, options: ShellExecutionOptions = definedExternally)(source)

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.

Parameters

command

The command to execute.

args

The command arguments.

options

Optional options for the started the shell.

Online Documentation