Claude Code wastes user time by silently retrying failed commands instead of reporting errors
Resolved 💬 3 comments Opened Mar 21, 2026 by kagankale Closed Mar 25, 2026
During a session, I asked Claude to run a Python script. The working directory path contained a Turkish character (') which caused bash to fail with exit code 127.
What Claude did:
- Attempted to run the script in background mode → failed silently
- Retried with a different approach → failed again silently
- Retried a third time → still failed
- Only reported the problem after multiple failed attempts and user frustration
What Claude should have done:
- Check the error on the first failure
- Immediately inform the user: "I cannot run this script from my environment due to a path encoding issue — please run it directly"
- Stop retrying the same failing approach
Impact:
- ~1 hour of wasted user time
- Significant token consumption with no useful output
- User had no visibility into what was happening
Request:
When a command fails, Claude should diagnose immediately and communicate clearly rather than silently retrying.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗