class Deno.ChildProcess
implements AsyncDisposable
The interface for handling a child process returned from
Deno.Command.spawn.
Properties Jump to heading
readonly
Jump to headingpid: numberreadonly
Jump to headingstatus: Promise<CommandStatus>Get the status of the child.
readonly
Jump to headingstderr: ReadableStream<Uint8Array>readonly
Jump to headingstdin: WritableStream<Uint8Array>readonly
Jump to headingstdout: ReadableStream<Uint8Array>Methods Jump to heading
Jump to heading[Symbol.asyncDispose](): Promise<void>Jump to headingkill(signo?: Signal): voidKills the process with given Deno.Signal.
Defaults to SIGTERM if no signal is provided.
Jump to headingoutput(): Promise<CommandOutput>Waits for the child to exit completely, returning all its output and status.
Jump to headingref(): voidEnsure that the status of the child process prevents the Deno process from exiting.
Jump to headingunref(): voidEnsure that the status of the child process does not block the Deno process from exiting.