Function std::run::process_status

pub fn process_status(prog: &str, args: &[~str]) -> int

Spawns a process and waits for it to terminate. The process will inherit the current stdin/stdout/stderr file descriptors.

Arguments

Return value

The process's exit code