Workstation API - v0.6.2
    Preparing search index...

    Class ProcessRunner

    Run child processes directly, inheriting stdin and capturing stdout/stderr. No implicit shell is used.

    Implements

    Index
    • Opt into command progress and streaming; verbose also prints captured query output.

      Parameters

      • logging: { progress?: boolean; verbose?: boolean } = {}

      Returns ProcessRunner

    • Print resource progress only when logging is enabled.

      Parameters

      • message: string

      Returns void

    • Execute a command directly and return captured output and its exit code; spawn failures reject.

      Parameters

      • command: string
      • args: readonly string[]
      • Optionaloptions: RunOptions

      Returns Promise<CommandResult>