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