The following echo_status program demonstrates the simplest way to run a child process in Rust. It runs echo with Command::status(), which waits for the child to finish and returns its exit status. The child inherits the parent's stdin, stdout, and stderr.
This zip file contains the complete crate.