[BUG] macOS Activity Monitor / ucomm shows "claude.exe" instead of "claude" (pnpm install)

Resolved 💬 1 comment Opened Apr 19, 2026 by drudolf Closed May 26, 2026

Environment

  • Platform: macOS 26.3.1, Darwin 25.3.0 (x86_64)
  • Install method: pnpm global (~/Library/pnpm/claude shim → node cli.js)
  • Claude Code version: 2.1.112
  • Node version: v24.14.1

Description

On macOS, the Claude Code process displays as claude.exe in Activity Monitor's "Process Group" field. The kernel comm is correctly claude, but the accounting name (ucomm) is claude.exe.

This is distinct from #12433 / #49982 (which show the version string under the native installer). Here the install is pnpm, and the leaked string is literally the Windows-branch filename.

Reproduction

$ pnpm add -g @anthropic-ai/claude-code
$ claude   # in another terminal
$ ps -p $(pgrep -n claude) -o pid,comm,ucomm
  PID COMM   UCOMM
 <PID> claude claude.exe

Activity Monitor → inspect the claude process → "Prozessgruppe/Process Group" reads claude.exe (<PID>).

Expected

Activity Monitor and ps -o ucomm should both show claude on macOS.

Actual

ucomm = claude.exe, Activity Monitor process-group name = claude.exe.

Impact

Cosmetic only — process identification tools (pgrep claude still works via comm), but the .exe suffix is confusing and looks like a Windows binary on a Mac.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗