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.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.1/cli/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.