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

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.ChildStatus
Deprecated
Deprecated

Use the Deno.Command API instead.

import { type Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { ChildStatus } = 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, present if Deno.spawn was called.