[PR #15286] Manually pre-evaluate the starting directory when calling elevate-shim #30574

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

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

State: closed
Merged: Yes


targets #15280

When ctrl+clicking on a profile, pre-evaluate the starting directory of that profile, and stash that in the commandline we pass to elevate shim.

So in the case of something like "use parent process directory", we'll run elevate-shim new-tab -p {guid} -d "C:\\the path\\of\\terminal\\."

Closes #15173

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15286 **State:** closed **Merged:** Yes --- _targets #15280_ When ctrl+clicking on a profile, pre-evaluate the starting directory of that profile, and stash that in the commandline we pass to elevate shim. So in the case of something like "use parent process directory", we'll run `elevate-shim new-tab -p {guid} -d "C:\\the path\\of\\terminal\\."` Closes #15173
claunia added the pull-request label 2026-01-31 09:41:38 +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#30574