Skip to content

[BUG] CC native on Windows: not really shell aware #5049

@0xeb

Description

@0xeb

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version: 1.0.67
  • Operating System: Windows 11
  • Terminal: cmd.exe

Bug Description

On Windows native (no WSL), CC still makes a lot of errors trying to run essential commands:

● Bash(move *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

● Bash(move /Y *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

The above are but a few instances of errors where CC has to retry multiple times in order to re-orient itself and know under which environment it is.

Steps to Reproduce

Start dogfooding CC windows native internally. You will find all sort of errors at tool invocation and shell interaction levels.

Using or having to install Git Bash is out of question.

Expected Behavior

CC should know its environment and shell and work correctly

Actual Behavior

All sorts of shell commands invocation errors:

● Bash(move *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

● Bash(move /Y *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

etc.

Too many to list. I was not planning to file a bug, but this is too much now.

Additional Context

Please dogfood your own product (CC) on Windows and start to weed out low hanging fruit errors.

Metadata

Metadata

Assignees

Labels

area:toolsbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions