Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShellCommandBuilder

Create command lines ready to be sent to a shell's stdin for evaluation.

Hierarchy

  • ShellCommandBuilder

Index

Constructors

Methods

  • buildForBash(args: (string | ShellQuotedString)[], cwd?: string, env?: [string, null | string][]): string
  • buildForCmd(args: (string | ShellQuotedString)[], cwd?: string, env?: [string, null | string][]): string
  • buildForDefault(args: (string | ShellQuotedString)[], cwd?: string, env?: [string, null | string][]): string
  • buildForPowershell(args: (string | ShellQuotedString)[], cwd?: string, env?: [string, null | string][]): string
  • needsQuoting(arg: string): boolean