Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProcessTaskRunner

Task runner that runs a task as a process or a command inside a shell.

Hierarchy

  • ProcessTaskRunner

Implements

Index

Constructors

Properties

logger: ILogger
rawProcessFactory: RawProcessFactory
taskFactory: TaskFactory
taskTerminalProcessFactory: TaskTerminalProcessFactory

Methods

  • argumentNeedsQuotes(value: string, shellQuotingOptions: ShellQuotingFunctions): boolean
  • asFsPath(uriOrPath: string): string
  • buildShellCommand(systemSpecificCommand: OsSpecificCommand, quotingFunctions?: ShellQuotingFunctions): string
  • executableFileExists(filePath: string): Promise<boolean>
  • deprecated

    Remove ProcessTaskRunner.findCommand, introduce process "started" event Checks for the existence of a file, at the provided path, and make sure that it's readable and executable.

    Parameters

    • filePath: string

    Returns Promise<boolean>

  • getCommand(processType: "shell" | "process", terminalProcessOptions: TerminalProcessOptions): undefined | string