Repository: rust
Issue: when `std::process::Command` cannot find the command, it doesn't specify which command.
Labels: C-enhancement,T-libs

I encountered an error which one of my 400 dependencies propagated because it tried to invoke a binary which didn't exist. Debugging this took me almost a full day while it would've been a matter of seconds if I had known which program could not be found (it was `rustfmt`, see [here](https://github.com/wravery/webview2-rs/issues/23) for more details).

I understand that this is not as trivial since it's a RawOsError wrapped inside an io::Error or whatever, but I believe *some* improvement in this direction should at least be considered.

I tried this code:

```rust
fn main() {
    println!("{}", std::process::Command::new("foo").output().unwrap_err());
}
```

I expected to see this happen: a mention of the binary that failed to launch

Instead, this happened: a generic/unhelpful error message `program not found` (Windows) or `No such file or directory (os error 2)` (playground)

### Meta
`rustc --version --verbose`:
```
rustc 1.72.0 (5680fa18f 2023-08-23)                                                                                                                                                                                                                                                                                                          binary: rustc                                                                                                                                                                                                                                                                                                                                commit-hash: 5680fa18feaa87f3ff04063800aec256c3d4b4be                                                                                                                                                                                                                                                                                        commit-date: 2023-08-23                                                                                                                                                                                                                                                                                                                      host: x86_64-pc-windows-msvc                                                                                                                                                                                                                                                                                                                 release: 1.72.0                                                                                                                                                                                                                                                                                                                              LLVM version: 16.0.5       
```

Disclaimer: I realize this is somewhat closer to a feature request, however I was linked to an external website. I believe this is not completely black/white and I wished to open discussion first.