microsoft/Terminal

Settings UI: Check that the starting directory is normalized

Open

#15.093 geöffnet am 3. Apr. 2023

Auf GitHub ansehen
 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-TerminalConnectionHelp WantedIssue-BugProduct-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

Windows Terminal version

1.16.10262.0

Windows build number

10.0.22000.1696

Other Software

No response

Steps to reproduce

  • create a new profile
    • Command line - > cmd.exe
    • "Starting directory" -? enter an existing path using a lower case drive letter (e.g. c:\users)
  • start a new terminal session with the new profile

Expected Behavior

cmd.exe is started in C:\Users as drive letters are upper case and NTFS is by default case preserving.

in the case where NTFS was set to be case sensitive then I would expect cmd.exe to be started in C:\users as the drive letters are always case insensitive and canonically upper case.

Actual Behavior

the CWD is exactly as entered (all lower case)

This causes some subtle issues with some programs / developer environments where tests are asserting that some log was written containing a canonicalized path.

(also this is half way between an issue and a new feature :) )

Contributor Guide