import { Deno } from "https://deno.land/x/levo@v0.0.27/lib/lib.deno_runtime.d.ts";
const { Process } = Deno;
Type Parameters
optional
T extends RunOptions = RunOptionsMethods
close(): void
kill(signo: number): void
UNSTABLE: The signo
argument may change to require the Deno.Signal
enum.
Send a signal to process. This functionality currently only works on Linux and Mac OS.
output(): Promise<Uint8Array>
Buffer the stdout until EOF and return it as Uint8Array
.
You must set stdout to "piped"
when creating the process.
This calls close()
on stdout after its done.
status(): Promise<ProcessStatus>
Resolves to the current status of the process.
stderrOutput(): Promise<Uint8Array>
Buffer the stderr until EOF and return it as Uint8Array
.
You must set stderr to "piped"
when creating the process.
This calls close()
on stderr after its done.