Options
All
  • Public
  • Public/Protected
  • All
Menu

Module os-shim/commandExecutor

Index

Properties

Properties

default

default: (command: string, args?: string[], options?: ExecutionOptions) => Promise<ExecaReturnValue<string>>

Type declaration

    • (command: string, args?: string[], options?: ExecutionOptions): Promise<ExecaReturnValue<string>>
    • Executes arbitrary commands on the host system in a subprocess, piping their outputs to the global logger. If specified, aborts execution after a specified time.

      Parameters

      • command: string

        The executable to run

      • Optional args: string[]
      • Optional options: ExecutionOptions

      Returns Promise<ExecaReturnValue<string>>

      Execa process output

Generated using TypeDoc