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

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

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

UNSTABLE: New API, yet to be vetted.

Properties

success: boolean

If the child process exits with a 0 status code, success will be set to true, otherwise false.

code: number

The exit code of the child process.

signal: Signal | null

The signal associated with the child process.