Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/example/deps.ts>powar.Output

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
interface powar.Output
import { type powar } from "https://deno.land/x/powar@1.0.3/example/deps.ts";
const { Output } = powar;

The output of the exec function.

This is a wrapper around stdout and stderr buffers, and the exit code.

Properties

code: number

The exit code of the command.

stdoutAsString: () => string

The standard output of the command as a string.

stdoutAsBytes: () => Uint8Array

The standard output of the command as a byte buffer.

stderrAsString: () => string

The standard error of the command as a string.

stderrAsBytes: () => Uint8Array

The standard error of the command as a byte buffer.