Function captureOutput

  • Capture STDOUT/STDERR output.

    Parameters

    • fn: (() => void | Promise<void>)
        • (): void | Promise<void>
        • Returns void | Promise<void>

    • Optional options: {
          stderr?: boolean;
          stdout?: boolean;
      }
      • Optional stderr?: boolean
      • Optional stdout?: boolean

    Returns Promise<Buffer>

Generated using TypeDoc