Skip to main content
The Deno 2 Release Candidate is 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
Deprecated
Deprecated

This will be removed in Deno 2.0. See the Deno 1.x to 2.x Migration Guide for migration instructions.

import { type Deno } from "https://deno.land/x/deno@v1.40.5/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.

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