[BUG] Frequent 30-second Freezes on CC Startup and after Executing Commands ( CC in WSL )

Resolved 💬 3 comments Opened Feb 3, 2026 by dsdashun Closed Feb 3, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I start Claude Code in WSL2, it becomes unresponsive for about 30 seconds. During this time, any input I type is not displayed until the period ends, at which point all the typed characters appear at once.

Additionally, whenever I run a command—even ones that do nothing (such as entering /config and then immediately canceling) or the /exit command—the process freezes again for approximately 30 seconds.

Here're some screenshots:

  • do config and cancel

<img width="363" height="105" alt="Image" src="https://github.com/user-attachments/assets/8b3d644b-1ac2-4ae2-90ad-26666e7c2bc6" />

  • exit for 30+ seconds ! It's crazy !

<img width="246" height="106" alt="Image" src="https://github.com/user-attachments/assets/940c2c02-0239-4626-a5fe-3aac15eb46d8" />

What Should Happen?

There should be no freezing period .

Error Messages/Logs

Steps to Reproduce

  • Install Claude Code on a WSL2 ( the distribution is Debian )
  • Enter Claude Code
  • Run /config and then press ESC to cancel, and check whether I can enter some texts in the prompt bar

<img width="363" height="105" alt="Image" src="https://github.com/user-attachments/assets/8b3d644b-1ac2-4ae2-90ad-26666e7c2bc6" />

  • Run /exit and the process should immediately exit.

<img width="246" height="106" alt="Image" src="https://github.com/user-attachments/assets/940c2c02-0239-4626-a5fe-3aac15eb46d8" />

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.29 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

I've extracted the strace of the claude process, attached here.

claude-code.strace.log

Here's the pstree screenshot when I just start the claude process and it was freezing :

<img width="989" height="644" alt="Image" src="https://github.com/user-attachments/assets/f991c4c8-9823-49fc-98b4-1b85cf565484" />

Here's the pstree screenshot when I issue /exit command and it was freezing:

<img width="617" height="252" alt="Image" src="https://github.com/user-attachments/assets/a2e0265e-8235-443d-962a-80dbe786c509" />

I strongly suspect this powershell process freezed everything. Here's what it did:

<img width="1275" height="74" alt="Image" src="https://github.com/user-attachments/assets/47122b09-5579-45ab-b8f4-51fc98810a82" />

When the Claude Code was back to normal, the powershell process disappeared.

But I'm doubt where it came from ? Why did Claude Code need to call this powershell command even if it is run in WSL, which is actually a Linux ?

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗