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;