relaunch
relaunch():
Promise
<void
>
Defined in: index.ts:41
Exits the current instance of the app then relaunches it.
Promise
<void
>
A promise indicating the success or failure of the operation.
import { relaunch } from '@tauri-apps/plugin-process';await relaunch();
2.0.0
© 2025 Tauri Contributors. CC-BY / MIT