mozilla/rust — pull request #10936 by cadencemarseille (2013-12-12 14:14:35+00:00)
Title: Fix #10754 - `std::run` functions fail after io_error

The problem was that std::run::Process::new() was unwrap()ing the result
of std::io::process::Process::new(), which returns None in the case
where the io_error condition is raised to signal failure to start the
process.

Have std::run::Process::new() similarly return an Option
to reflect the fact that a subprocess might have failed to start. Update
utility functions run::process_status() and run::process_output() to
return Option and Option, respectively.

Various parts of librustc and librustpkg needed to be updated to reflect
these API changes.

closes #10754