Skip to main content

run

Function run 

Source
pub fn run(
    target: &Target,
    program: &str,
    args: &[String],
) -> Result<i32, String>
Expand description

Runs program with args under the filter for target and returns its exit status (128 if it was killed by a signal). The current directory and environment are inherited. Suitable for a Cargo runner.