augment-vir - v31.13.0
    Preparing search index...

    Function streamShellCommand

    • Runs a shell command and returns a ShellTarget instance for directly hooking into shell events. This allows instant reactions to shell events but in a less convenient API compared to runShellCommand.

      Parameters

      • command: string
      • Optionalcwd: string
      • shell: string = 'bash'
      • env: ProcessEnv = process.env
      • hookUpToConsole: boolean = false

      Returns ShellTarget

      • runShellCommand: a higher level and more succinct way of running a shell command.