Process
This plugin provides APIs to access the current process. To spawn child processes, see the shell plugin.
Setup
Install the plugin-process to get started.
Use your project’s package manager to add the dependency:
-
Run
cargo add tauri-plugin-process
to add the plugin to the project’s dependencies inCargo.toml
. -
Modify
lib.rs
to initialize the plugin: -
If you’d like to utilize the plugin in JavaScript then install the npm package as well:
Usage
The process plugin is available in both JavaScript and Rust.
Note that app
is an instance of AppHandle
.
© 2024 Tauri Contributors. CC-BY / MIT