Skip to content


This plugin provides APIs to access the current process. To spawn child processes, see the shell plugin.

Install the plugin-process to get started.

Use your project’s package manager to add the dependency:

npm run tauri add process

The process plugin is available in both JavaScript and Rust.

import { exit, relaunch } from '@tauri-apps/plugin-process';
// exits the app with the given status code
await exit(0);
// restarts the app
await relaunch();

© 2024 Tauri Contributors. CC-BY / MIT