Skip to main content
WASIOptions.returnOnExit - node__wasi.d.ts - Node documentation
property WASIOptions.returnOnExit

Usage in Deno

```typescript import { type WASIOptions } from "node:node__wasi.d.ts"; ```
By default, when WASI applications call `__wasi_proc_exit()` `wasi.start()` will return with the exit code specified rather than terminatng the process. Setting this option to `false` will cause the Node.js process to exit with the specified exit code instead.

Type

boolean | undefined