Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ShellExecution

Index

Constructors

  • Creates a shell execution with a full command line.

    Parameters

    • commandLine: string

      The command line to execute.

    • Optional options: ShellExecutionOptions

      Optional options for the started the shell.

    Returns ShellExecution

  • Creates a shell execution with a command and arguments. For the real execution VS Code 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

    Returns ShellExecution

Properties

args?: (string | ShellQuotedString)[]

The shell args. Is undefined if created with a full command line.

command?: string | ShellQuotedString

The shell command. Is undefined if created with a full command line.

commandLine?: string

The shell command line. Is undefined if created with a command and arguments.

The shell options used when the command line is executed in a shell. Defaults to undefined.