When adding a variable to PATH, restarting tab with terminal doesn't help #14659

Closed
opened 2026-01-31 04:16:08 +00:00 by claunia · 2 comments
Owner

Originally created by @rakleed on GitHub (Jul 23, 2021).

Windows Terminal version (or Windows build number)

1.8.1521.0

Other Software

No response

Steps to reproduce

  1. Open Windows Terminal with two tabs - Command Prompt and PowerShell Core
  2. Add a new variable to PATH
  3. Close tab with PowerShell Core
  4. Open a new tab with PowerShell Core
  5. Enter the command added as a variable to PATH

Expected Behavior

The command is recognized as a variable and works.

Actual Behavior

The command is not recognized as a variable and does not work.

In order for it to work, you need to completely restart Windows Terminal, and not just a separate tab with the terminal.

Originally created by @rakleed on GitHub (Jul 23, 2021). ### Windows Terminal version (or Windows build number) 1.8.1521.0 ### Other Software _No response_ ### Steps to reproduce 1. Open Windows Terminal with two tabs - Command Prompt and PowerShell Core 2. Add a new variable to PATH 3. Close tab with PowerShell Core 4. Open a new tab with PowerShell Core 5. Enter the command added as a variable to PATH ### Expected Behavior The command is recognized as a variable and works. ### Actual Behavior The command is not recognized as a variable and does not work. In order for it to work, you need to completely restart Windows Terminal, and not just a separate tab with the terminal.
claunia added the Resolution-Duplicate label 2026-01-31 04:16:08 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 23, 2021):

Thanks for the report! 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 (Jul 23, 2021): Thanks for the report! This is actually already being tracked by another issue on our repo - please refer to #1125 for more discussion. /dup #1125
Author
Owner

@ghost commented on GitHub (Jul 23, 2021):

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!

@ghost commented on GitHub (Jul 23, 2021): 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#14659