Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

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.

process: undefined | ChildProcess

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

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

Accessors

  • get killed(): boolean
  • get pid(): number

Methods

  • emitOnClose(code?: number, signal?: string): void
  • emitOnExit(code?: number, signal?: string): void
  • emitOnStarted(): void
  • getCwdURI(): Promise<string>
  • isForkOptions(options: unknown): options is ForkOptions
  • kill(signal?: string): void