Implements

  • IPty

Constructors

Properties

cols: number = -1
handleFlowControl: boolean = false
onData: Event<string> = Event.None
onExit: Event<{
    exitCode: number;
    signal?: number;
}> = Event.None

Type declaration

  • exitCode: number
  • Optional signal?: number
pid: number = -1
process: string = ''
rows: number = -1

Methods

  • Parameters

    • event: string
    • listener: ((data) => void)
        • (data): void
        • Parameters

          • data: string

          Returns void

    Returns void

  • Parameters

    • event: string
    • listener: ((exitCode, signal?) => void)
        • (exitCode, signal?): void
        • Parameters

          • exitCode: number
          • Optional signal: number

          Returns void

    Returns void

  • Parameters

    • event: string
    • listener: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: string

          Returns void

    Returns void