2 // ignore-emscripten no processes
3 // ignore-sgx no processes
4 // ignore-fuchsia ErrorKind not translated
6 use std::io::ErrorKind;
7 use std::process::Command;
10 let result = Command::new("nonexistent").spawn().unwrap_err().kind();
14 // Under WSL with appendWindowsPath=true, this fails with PermissionDenied
15 ErrorKind::NotFound | ErrorKind::PermissionDenied