Skip to main content
ChildProcess.prototype.exitCode - child_process - Node documentation
property ChildProcess.prototype.exitCode

Usage in Deno

import { ChildProcess } from "node:child_process";

The subprocess.exitCode property indicates the exit code of the child process. If the child process is still running, the field will be null.

Type

number | null
Back to top