use wil::ExpandEnvironmentStrings where possible #2930

Closed
opened 2026-01-30 23:09:03 +00:00 by claunia · 1 comment
Owner

Originally created by @miniksa on GitHub (Jul 25, 2019).

#2050, I said we should use the niceties of wil::ExpandEnvironmentStrings everywhere in the code.

There are a few choice locations (particularly in Entrypoints.cpp) where we could leverage that function instead of the manual dance that exists now.

This represents searching for the old/manual way with double calling and allocating buffers and replacing it with the nice wil version.

Anyone is welcome to do this.

Originally created by @miniksa on GitHub (Jul 25, 2019). #2050, I said we should use the niceties of `wil::ExpandEnvironmentStrings` everywhere in the code. There are a few choice locations (particularly in `Entrypoints.cpp`) where we could leverage that function instead of the manual dance that exists now. This represents searching for the old/manual way with double calling and allocating buffers and replacing it with the nice wil version. Anyone is welcome to do this.
Author
Owner

@ghost commented on GitHub (Oct 23, 2019):

:tada:This issue was addressed in #3198, which has now been successfully released as Windows Terminal Preview v0.6.2951.0.🎉

Handy links:

@ghost commented on GitHub (Oct 23, 2019): :tada:This issue was addressed in #3198, which has now been successfully released as `Windows Terminal Preview v0.6.2951.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.6.2951.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2930