I’m solving this challenge with Rust, I think my answer should be correct?
When the child process prints to stderr it writes the full path to the failed executable, but the tester expects only its “name”.
The logs should make it clearer:
Output does not match expected value.
Expected: "cat: nonexistent: No such file or directory"
Received: "/usr/bin/cat: nonexistent: No such file or directory"
Basically, the only difference is /usr/bin/cat instead of cat.
I’m not sure if I should consider it a mistake and change my code, or rather something the tester should handle.
What do you guys think?
P.S. Sorry if it’s messy, I had a hard time explaining it for some reason