Skip to main content
Module

x/dax/mod.ts>CommandResult

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
class CommandResult
Re-export
import { CommandResult } from "https://deno.land/x/dax@0.9.0/mod.ts";

Result of running a command.

Constructors

new
CommandResult(
code: number,
stdout: BufferStdio,
stderr: BufferStdio,
)

Properties

readonly
code: number

The exit code.

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.