Deprecated
Use the Deno.Command API instead.
The interface for handling a child process returned from
Deno.spawnChild
.
import { Deno } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.unstable.d.ts";
const { Child } = Deno;
UNSTABLE: New API, yet to be vetted.
Properties
readonly
stderr: ReadableStream<Uint8Array>readonly
stdin: WritableStream<Uint8Array>readonly
stdout: ReadableStream<Uint8Array>Methods
output(): Promise<SpawnOutput>
Waits for the child to exit completely, returning all its output and status.
unref(): void
Ensure that the status of the child process does not block the Deno process from exiting.