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
Deprecated
Deprecated

Use Deno.Command instead.

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.

import { type Deno } from "https://deno.land/x/deno@v1.36.0/cli/tsc/dts/lib.deno.ns.d.ts";
const { ProcessStatus } = Deno;
deprecated
definition: { success: true; code: 0; signal?: undefined; } | { success: false; code: number; signal?: number; }