I am debugging a failure in code that is calling
std::process::Command::output and returns an OS error 2 (file not found). Sadly, the error doesn't tell me which file is not found, and that may be the most important thing.
The documentation at: https://doc.rust-lang.org/std/process/struct.Command.html#method.output isn't saying under which conditions that may happen.
So, when can
Command::output return "file not found"? Would it be something that'd be reasonable to document. The error condition is not self-evident to me, am I missing something?