environment variable changes (like PATH) are not applied during runtime #7121

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

Originally created by @claudenobs on GitHub (Mar 24, 2020).

Environment

Windows build number:  Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Windows Terminal Version: 0.10.781.0

Steps to reproduce

  1. echo $env:Path
  2. change environment variables using Control Panel > System > ...
  3. open new powershell tab
  4. echo $env:Path

Expected behavior

environment variable change is reflected in :

  • new powershell tab
  • currently open poweshell tabs

Actual behavior

environment variable change is only reflected after closing & reopening microsoft terminal application

Originally created by @claudenobs on GitHub (Mar 24, 2020). # Environment ```none Windows build number: Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Windows Terminal Version: 0.10.781.0 ``` # Steps to reproduce 1) echo $env:Path 2) change environment variables using Control Panel > System > ... 3) open new powershell tab 4) echo $env:Path # Expected behavior environment variable change is reflected in : - new powershell tab - currently open poweshell tabs # Actual behavior environment variable change is only reflected after closing & reopening microsoft terminal application
claunia added the Resolution-Duplicate label 2026-01-31 00:55:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7121