tauri_api::command

Function spawn_relative_command

Source
pub fn spawn_relative_command(
    command: String,
    args: Vec<String>,
    stdout: Stdio,
) -> Result<Child>
Expand description

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.