Steps to reproduce
- use git bash
- ask agent to run bash tool, given an absolute path
- bash will fail with
ENOENT and bun crashing
Root cause
In a Windows environment with mixed paths (Windows, MSYS/GitBash), bun spawn will crash with segfault when cwd is passed using backslashes
#6763 solves this via path normalization