Module tauri::api::process[][src]

Expand description

The Command API module allows you to manage child processes.

Structs

Command

API to spawn commands.

CommandChild

Child spawned.

ExitStatus

Describes the result of a process after it has terminated.

Output

The output of a finished process.

TerminatedPayload

Payload for the Terminated command event.

Enums

CommandEvent

A event sent to the command callback.

Functions

current_binary

Get the current binary

kill_children

Kill all child process created with Command. By default it’s called before the crate::App exits.

restart

Restart the process.