Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShellExecution

Hierarchy

  • ShellExecution

Index

Constructors(1)

Properties(4)

Constructors(1)

constructor

  • 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 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

    Returns ShellExecution

Properties(4)

commandLine

commandLine: undefined | string

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

command

command: string | ShellQuotedString

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

args

args: (string | ShellQuotedString)[]

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

Optional options

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

Generated by TypeDoc. Maintained by 洛竹