CLI Tool Selection and Execution Across Shell Environments
Resolved 💬 4 comments Opened Jul 20, 2025 by jv-lopez Closed Aug 19, 2025
Bug Description
claude code can use bash, powershell and will end up using npm
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 1.0.56
- Feedback ID: 448b0466-9cf1-4441-9e73-d95e162b1c4b
Errors
[{"error":"Error: ENOENT: no such file or directory, open 'T:\\proc\\version'\n at Module.readFileSync (node:fs:457:20)\n at Object.readFileSync (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:7077)\n at file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:615:8638\n at Q (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at kT4 (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:709:62815)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-20T12:11:07.819Z"},{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at checkExecSyncError (node:child_process:890:11)\n at execSync (node:child_process:962:15)\n at A7 (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:797:5848)\n at fn (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1278:1937)\n at file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2726:9388\n at async file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2479:7034\n at async Promise.all (index 12)\n at async w18 (file:///C:/Users/LENOVO/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2479:6993)","timestamp":"2025-07-20T12:11:08.823Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗