New Tabs do not read Environmental variables a-new #11327

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

Originally created by @kingfetty on GitHub (Nov 10, 2020).

WindowTerminal Version: 1.3.2651.0
Windows 10 1909 build 18363.1139

Summary:

If you've already opened windows terminal and change an environmental variable such as PATH and then spawn a new tab, the new tab does not include the latest updates to the variable. This requires users to completely close the entire windows terminal application to get it to read the variable. Each sub process / tab should read the environment variables anew on spawn preventing the need to close any windows that may be open already and losing possible work in the process.

To reproduce:

  • Open Windows Terminal and have an existing window opened
  • Change the system path to include a new test item in the path
  • spawn a new tab in the existing windows terminal
  • echo the system path and note that the changed path is not included
Originally created by @kingfetty on GitHub (Nov 10, 2020). WindowTerminal Version: 1.3.2651.0 Windows 10 1909 build 18363.1139 **Summary:** If you've already opened windows terminal and change an environmental variable such as PATH and then spawn a new tab, the new tab does not include the latest updates to the variable. This requires users to completely close the entire windows terminal application to get it to read the variable. Each sub process / tab should read the environment variables anew on spawn preventing the need to close any windows that may be open already and losing possible work in the process. **To reproduce:** - Open Windows Terminal and have an existing window opened - Change the system path to include a new test item in the path - spawn a new tab in the existing windows terminal - echo the system path and note that the changed path is not included
claunia added the Resolution-Duplicate label 2026-01-31 02:44:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11327