Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RawProcess

Hierarchy

Index

Constructors

constructor

Properties

Protected _killed

_killed: boolean = false

Protected Readonly closeEmitter

closeEmitter: Emitter<IProcessExitEvent> = ...

Protected Readonly errorEmitter

errorEmitter: Emitter<ProcessErrorEvent> = ...

Readonly errorStream

errorStream: Readable

The stderr stream.

Protected Readonly exitEmitter

exitEmitter: Emitter<IProcessExitEvent> = ...

Readonly id

id: number

Protected Readonly initialCwd

initialCwd: string

Readonly inputStream

inputStream: Writable

The stdin stream.

Protected Readonly logger

logger: ILogger

Protected Readonly options

Readonly outputStream

outputStream: Readable

The stdout stream.

Readonly process

process: undefined | ChildProcess

If the process fails to launch, it will be undefined.

Protected Readonly processManager

processManager: ProcessManager

Protected Readonly startEmitter

startEmitter: Emitter<IProcessStartEvent> = ...

Protected Readonly type

Accessors

errorOutput

  • get errorOutput(): Readable

input

  • get input(): Writable

killed

  • get killed(): boolean

onClose

onError

onExit

onStart

output

  • get output(): Readable

pid

  • get pid(): number

Methods

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