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

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.SpawnOutput
implements ChildStatus
Deprecated
Deprecated

Use the Deno.Command API instead.

The interface returned from calling Deno.spawn or Deno.spawnSync which represents the result of spawning the child process.

import { type Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { SpawnOutput } = Deno;

UNSTABLE: New API, yet to be vetted.

Properties

readonly
stdout: Uint8Array

The buffered output from the child processes stdout.

readonly
stderr: Uint8Array

The buffered output from the child processes stderr.