pub fn command(program: &str, cap: &impl Has<Spawn>) -> Command
Creates a new Command for the given program. Requires Spawn permission.
Command
Spawn
Returns a std::process::Command that can be further configured before execution.
std::process::Command