[PR #12086] Ensure PowerShell Core profile commandline is quoted #28830

Open
opened 2026-01-31 09:31:02 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12086

State: closed
Merged: Yes


Ensures the PowerShell Core profile's commandline is quoted. This allows
the profile to work correctly if there are files in place on the machine
(e.g. one called C:\Program) that prevent CreateProcess() from
invoking the un-quoted commandline.

Validation Steps Performed

Created a file called C:\Program and opened the PowerShell profile in
terminal.

Closes #11717

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12086 **State:** closed **Merged:** Yes --- Ensures the PowerShell Core profile's commandline is quoted. This allows the profile to work correctly if there are files in place on the machine (e.g. one called `C:\Program`) that prevent `CreateProcess()` from invoking the un-quoted commandline. ## Validation Steps Performed Created a file called `C:\Program` and opened the PowerShell profile in terminal. Closes #11717
claunia added the pull-request label 2026-01-31 09:31:02 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28830