Skip to main content

returnOnExit

property WASIOptions.returnOnExit

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.

boolean | undefined
Back to top