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: number
readonly
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): void
Kills 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(): void
Ensure that the status of the child process prevents the Deno process from exiting.
Jump to headingunref(): void
Ensure that the status of the child process does not block the Deno process from exiting.