[Bug] Shell path parsing fails with spaces in Windows home directory

Resolved 💬 3 comments Opened Mar 8, 2026 by ankur13anand Closed Mar 12, 2026

Bug Description

  • Windows 11 with spaces in home directory path (C:\Users\User Name)
  • Error: /usr/bin/bash: line 1: /c/Users/User: Permission denied
  • Happens on every command, even with bash --norc --noprofile
  • Commands still execute correctly, but exit code is always 1

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.71
  • Feedback ID: cc3e9fad-07d7-4a4c-a9e2-eb09a89dcf00

Errors

[]

View original on GitHub ↗

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