Struct tauri::api::process::Command[][src]

pub struct Command { /* fields omitted */ }
Expand description

API to spawn commands.

Implementations

Creates a new Command for launching the given program.

Creates a new Command for launching the given sidecar program.

Append args to the command.

Clears the entire environment map for the child process.

Adds or updates multiple environment variable mappings.

Sets the working directory for the child process.

Spawns the command.

Executes a command as a child process, waiting for it to finish and collecting its exit status. Stdin, stdout and stderr are ignored.

Executes the command as a child process, waiting for it to finish and collecting all of its output. Stdin is ignored.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.