exit
exit(
code):Promise<void>
Defined in: index.ts:25
Exits immediately with the given exitCode.
number = 0
The exit code to use.
Promise<void>
A promise indicating the success or failure of the operation.
import { exit } from '@tauri-apps/plugin-process';await exit(1);2.0.0
© 2025 Tauri Contributors. CC-BY / MIT