Terminal does not sync environment variable changes #19577

Closed
opened 2026-01-31 06:47:46 +00:00 by claunia · 2 comments
Owner

Originally created by @Boilerplate4u on GitHub (Mar 24, 2023).

Windows Terminal version

1.17.1023

Windows build number

10.0.20348 Build 20348

Steps to reproduce

Terminal does not sync environment variable changes even if you close and open a new cmd/powershell session, ie you are forced close all sessions and restart Terminal before it takes effect.

Expected Behavior

It should sync environment variable changes at least when closing/opening a new sessions but even better live. You really shouldn't have to close all sessions and restart the whole Terminal for this.

Actual Behavior

It doesn't sync environment variable changes even if a cmd/powershell session is restarted (as a standalone cmd does)

Originally created by @Boilerplate4u on GitHub (Mar 24, 2023). ### Windows Terminal version 1.17.1023 ### Windows build number 10.0.20348 Build 20348 ### Steps to reproduce Terminal does not sync environment variable changes even if you close and open a new cmd/powershell session, ie you are forced close all sessions and restart Terminal before it takes effect. ### Expected Behavior It should sync environment variable changes at least when closing/opening a new sessions but even better live. You really shouldn't have to close all sessions and restart the whole Terminal for this. ### Actual Behavior It doesn't sync environment variable changes even if a cmd/powershell session is restarted (as a standalone cmd does)
claunia added the Needs-TriageIssue-BugResolution-Duplicate labels 2026-01-31 06:47:47 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 24, 2023):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #1125 for more discussion.

/dup #1125

@zadjii-msft commented on GitHub (Mar 24, 2023): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #1125 for more discussion. /dup #1125
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Mar 24, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Mar 24, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19577