Skip to main content
class Deno.Child
Unstable

Properties

readonly
pid: number
readonly
status: Promise<ChildStatus>

Get the status of the child.

readonly
stderr: ReadableStream<Uint8Array>
readonly
stdin: WritableStream<Uint8Array>
readonly
stdout: ReadableStream<Uint8Array>

Methods

kill(signo?: Signal): void

Kills the process with given Signal. Defaults to SIGTERM.

output(): Promise<SpawnOutput>

Waits for the child to exit completely, returning all its output and status.

ref(): void
unref(): void