Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.CommandOutput
implements CommandStatus
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { CommandOutput } = Deno;

The interface returned from calling Deno.Command.output or Deno.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.