class Deno.ChildProcess
implements AsyncDisposable
The interface for handling a child process returned from
Deno.Command.spawn.
Properties #
#status: Promise<CommandStatus> readonly
Get the status of the child.
#stderr: SubprocessReadableStream readonly
#stdout: SubprocessReadableStream readonly
Methods #
#[Symbol.asyncDispose](): Promise<void> Kills the process with given Deno.Signal.
Defaults to SIGTERM if no signal is provided.
#output(): Promise<CommandOutput> Waits for the child to exit completely, returning all its output and status.