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

x/powar/api.ts>Output

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

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.