Skip to main content
Module

x/uuid/lib/lib.deno_runtime.d.ts>Deno.Process

Deprecated! UUID is part of the deno standard library
Latest
class Deno.Process
import { Deno } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { Process } = Deno;

Properties

readonly
pid: number
readonly
rid: number
readonly
optional
stderr: ReadCloser
readonly
optional
stdin: WriteCloser
readonly
optional
stdout: ReadCloser

Methods

close(): void
kill(signo: number): void
output(): Promise<Uint8Array>

Buffer the stdout and return it as Uint8Array after EOF. You must set stdout to "piped" when creating the process. This calls close() on stdout after its done.

status(): Promise<ProcessStatus>
stderrOutput(): Promise<Uint8Array>

Buffer the stderr and return it as Uint8Array after EOF. You must set stderr to "piped" when creating the process. This calls close() on stderr after its done.