Skip to main content

command

Function command 

Source
pub fn command(program: &str, cap: &impl Has<Spawn>) -> Command
Expand description

Creates a new Command for the given program. Requires Spawn permission.

Returns a std::process::Command that can be further configured before execution.