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

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias Deno.ProcessStatus
import { type Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.ns.d.ts";
const { ProcessStatus } = Deno;

The status resolved from the .status() method of a Deno.Process instance.

If success is true, then code will be 0, but if success is false, the sub-process exit code will be set in code.

definition: { success: true; code: 0; signal?: undefined; } | { success: false; code: number; signal?: number; }