Module tauri::api::process

source ·
Expand description

Types and functions related to child processes management.

Structs

Commandprocess-command-api
The type to spawn commands.
CommandChildprocess-command-api
Spawned child process.
An encoding as defined in the Encoding Standard.
ExitStatusprocess-command-api
Describes the result of a process after it has terminated.
Outputprocess-command-api
The output of a finished process.
TerminatedPayloadprocess-command-api
Payload for the CommandEvent::Terminated command event.

Enums

CommandEventprocess-command-api
A event sent to the command callback.

Functions

Finds the current running binary’s path.
kill_childrenprocess-command-api
Kills all child processes created with Command. By default it’s called before the crate::App exits.
Restarts the currently running binary.