Skip to Content
Skip to Content
ClassesProcessChild

ProcessChild


Properties

pid

pid: number

stdin

stdin: FileHandle?

stdout

stdout: FileHandle?

stderr

stderr: FileHandle?

Methods

wait

Kills the process and yields until the process exits.

:wait(): export type ProcessResult = { ok: boolean, code: number, }ProcessResultexport type ProcessResult = { ok: boolean, code: number, }

Throws

  • Process Error

kill

Yields until the process exits.

:kill(): export type ProcessResult = { ok: boolean, code: number, }ProcessResultexport type ProcessResult = { ok: boolean, code: number, }

Throws

  • Process Error
Last updated on