Module tauri_api::command[][src]

Expand description

The Command API module allows you to manage child processes.

Functions

binary_command

Gets the binary command with the current target triple.

command_path

Gets the path to command relative to the current executable path.

get_output

Gets the output of the given command.

spawn_relative_command

Spawns a process with a command string relative to the current executable path. For example, if your app bundles two executables, you don’t need to worry about its path and just run second-app.