commandLine setting not properly escaping? #8252

Open
opened 2026-01-31 01:24:39 +00:00 by claunia · 0 comments
Owner

Originally created by @emmatyping on GitHub (May 19, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.19592.1001]
Windows Terminal version (if applicable): 0.11.1333.0

Steps to reproduce

Create a profile with the command line setting copied verbatim from https://github.com/microsoft/terminal/blob/master/doc/user-docs/ThirdPartyToolProfiles.md#developer-command-prompt-for-visual-studio

Expected behavior

A new VS Developer Command prompt opens

Actual behavior

A new shell displays

'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

and a normal CMD prompt, as the above indicates the argument isn't being escaped properly.

Originally created by @emmatyping on GitHub (May 19, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19592.1001] Windows Terminal version (if applicable): 0.11.1333.0 ``` # Steps to reproduce Create a profile with the command line setting copied verbatim from https://github.com/microsoft/terminal/blob/master/doc/user-docs/ThirdPartyToolProfiles.md#developer-command-prompt-for-visual-studio # Expected behavior A new VS Developer Command prompt opens # Actual behavior A new shell displays ``` 'C:/Program' is not recognized as an internal or external command, operable program or batch file. ``` and a normal CMD prompt, as the above indicates the argument isn't being escaped properly.
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:24:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8252