(code?: number | undefined): never import {exit} from '@fuzdev/gro/exit.js'; Exits with code, or without one the code from set_exit_code, else 0.
Spawned children are cleaned up on the way out, by the spawn module's exit hook.
Writes not yet accepted are dropped, so await a write before exiting.
code?
an integer from 0 to 255
numberreturns
never throws
TypeError- for any other value, without calling a thenable or a `toPrimitive`