property Process.exitCode Usage in Denoimport { type Process } from "node:process"; A number which will be the process exit code, when the process either exits gracefully, or is exited via exit without specifying a code. Specifying a code to exit will override any previous setting of process.exitCode. Type number | string | number | undefined