Class ProcessAbstract

Hierarchy (view full)

Implements

Constructors

Properties

_killed: boolean = false
closeEmitter: Emitter<IProcessExitEvent> = ...
errorEmitter: Emitter<ProcessErrorEvent> = ...
errorStream: Readable

The stderr stream.

exitEmitter: Emitter<IProcessExitEvent> = ...
id: number
initialCwd: string
inputStream: Writable

The stdin stream.

logger: ILogger
outputStream: Readable

The stdout stream.

pid: number

The OS process id.

processManager: ManagedProcessManager
startEmitter: Emitter<IProcessStartEvent> = ...

Accessors

Methods

  • Emit the onClose event for this process. Only one of code and signal should be defined.

    Parameters

    • Optional code: number
    • Optional signal: string

    Returns void

  • Emit the onExit event for this process. Only one of code and signal should be defined.

    Parameters

    • Optional code: number
    • Optional signal: string

    Returns void