Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskTerminalProcess

Hierarchy

Index

Constructors

constructor

Properties

Protected _killed

_killed: boolean = false

attachmentAttempted

attachmentAttempted: boolean = false

Protected Readonly closeEmitter

closeEmitter: Emitter<IProcessExitEvent> = ...

Protected Readonly errorEmitter

errorEmitter: Emitter<ProcessErrorEvent> = ...

Readonly errorStream

errorStream: DevNullStream = ...

Protected Readonly exitEmitter

exitEmitter: Emitter<IProcessExitEvent> = ...

exited

exited: boolean = false

Readonly id

id: number

Protected Readonly initialCwd

initialCwd: string

Readonly inputStream

inputStream: Writable

Protected Readonly logger

logger: ILogger

Protected Readonly options

Readonly outputStream

outputStream: MultiRingBufferReadableStream = ...

Protected Readonly processManager

processManager: ProcessManager

Protected Readonly ringBuffer

ringBuffer: MultiRingBuffer

Protected Readonly startEmitter

startEmitter: Emitter<IProcessStartEvent> = ...

Protected Readonly terminal

terminal: undefined | IPty

Protected Readonly type

Accessors

arguments

  • get arguments(): string[]

executable

  • get executable(): string

killed

  • get killed(): boolean

onClose

onError

onExit

onStart

pid

  • get pid(): number

Methods

Protected checkTerminal

  • checkTerminal(): void

createOutputStream

Protected emitOnClose

  • emitOnClose(code?: number, signal?: string): void

Protected emitOnError

Protected emitOnErrorAsync

Protected emitOnExit

  • emitOnExit(code?: number, signal?: string): void

Protected emitOnStarted

  • emitOnStarted(): void

getCwdURI

  • getCwdURI(): Promise<string>

Protected handleOnError

Protected handleOnExit

Protected isForkOptions

kill

  • kill(signal?: string): void

Protected onTerminalExit

  • onTerminalExit(code: undefined | number, signal: undefined | string): void

resize

  • resize(cols: number, rows: number): void

unregisterProcess

  • unregisterProcess(): void

write

  • write(data: string): void