Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/tools/release/deps.ts>dax.CommandResult

A modern runtime for JavaScript and TypeScript.
Go to Latest
class dax.CommandResult
Re-export
import { dax } from "https://deno.land/x/deno@v1.39.3/tools/release/deps.ts";
const { CommandResult } = dax;

Result of running a command.

Constructors

new
CommandResult(
code: number,
stdout: BufferStdio,
stderr: BufferStdio,
combined: Buffer | undefined,
)

Properties

readonly
code: number

The exit code.

readonly
combined

Raw combined stdout and stderr text.

readonly
combinedBytes: Uint8Array

Raw combined stdout and stderr bytes.

readonly
stderr

Raw decoded stdout text.

readonly
stderrBytes: Uint8Array

Raw stderr bytes.

readonly
stderrJson

Stderr text as JSON.

readonly
stdout

Raw decoded stdout text.

readonly
stdoutBytes: Uint8Array

Raw stdout bytes.

readonly
stdoutJson

Stdout text as JSON.