Skip to content

Segfault on Windows git bash (msys) when using bash tool with cwd #11043

@pschiel

Description

@pschiel

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions