[BUG] Claude CLI -p mode hangs indefinitely
Environment
- Platform (select one):
- [X] Anthropic API
- Claude CLI version: 1.0.3
- Operating System: Windows 11
- Terminal: WSL2 (Ubuntu)
Bug Description
The Claude CLI freezes and becomes unresponsive when using the -p flag with any prompt. The process appears to hang indefinitely without producing any output, error messages.
Steps to Reproduce
claude -p "explain what Python is"
Expected Behavior
The CLI should process the prompt and show the output.
Actual Behavior
No output is displayed
Quick update on the issue I reported earlier with the Claude CLI -p flag hanging indefinitely.
Turns out it wasn't actually a bug - looks like there was some API downtime happening when I was testing it. I just tried the same commands again and everything's working perfectly now. The -p flag is responding normally and processing prompts as expected.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.