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

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.CommandOutput

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.CommandOutput
implements ChildStatus
import { type Deno } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.unstable.d.ts";
const { CommandOutput } = Deno;

UNSTABLE: New API, yet to be vetted.

The interface returned from calling Command.output or Command.outputSync which represents the result of spawning the child process.

Properties

readonly
stdout: Uint8Array

The buffered output from the child process' stdout.

readonly
stderr: Uint8Array

The buffered output from the child process' stderr.