Options
All
  • Public
  • Public/Protected
  • All
Menu

层级

  • ShellExecution

索引

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.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc