[Bug] Windows PowerShell path separators incorrectly encoded in bash commands

Status Closed — duplicate
Maintainer reply None cached
Activity 2 comments · opened Dec 16, 2025 · closed Dec 16, 2025

Bug Description
When running batch commands (.bat) in the Windows terminal (PowerShell), file paths may be unnecessarily encoded using path separators.

 ● Bash(cd C:\Users\test\Desktop\Project\c3\tmp && git sparse-checkout set spine-ts)
  ⎿  Error: Exit code 1
     /usr/bin/bash: line 1: cd: C:UserstestDesktopProjectc3tmp: No such file or directory

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.70
  • Feedback ID: 47cfdfa2-05db-4424-99d9-a318a5b346c4

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗