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