Skip to main content
Module

x/denoexec/mod.ts>ProcessResults

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
class ProcessResults
Re-export
import { ProcessResults } from "https://deno.land/x/denoexec@v1.1.5/mod.ts";

This wraps Deno.ProcessStatus and provides some additional data and functionality.

Constructors

new
ProcessResults(
stdout: io.Buffer,
stderr: io.Buffer,
combined: io.Buffer,
killed: boolean,
)

Properties

readonly
code
readonly
killed
readonly
signal
readonly
success

Methods

stderr(): string
stderr(format: "string"): string
stderr(format: "bytes"): Uint8Array
stdioCombined(): string
stdioCombined(format: "string"): string
stdioCombined(format: "bytes"): Uint8Array
stdout(): string
stdout(format: "string"): string
stdout(format: "bytes"): Uint8Array