Skip to main content

command

Function command 

Source
pub fn command(program: impl AsRef<OsStr>) -> Command
Expand description

A std::process::Command for program that runs an APE image through its planned loader, with this process’s environment as the child’s.

Use in place of Command::new for an external tool. A relative program path is resolved against this process’s working directory; pass an absolute path when the child’s current_dir differs.