kingToolbox / kingToolbox/WindTerm

Some environment variables are not being imported.

Open
#1,665 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

example:
when I type command
**set path**
my real path is:
**path=D:\Program Files\node-v18.16.0-win-x64;D:\Program Files\node-v18.16.0-win-x64\node-global;D:\Program Files\Java\openjdk-20.0.1_windows-x64_bin\bin;**
but when I type command in windterm my path is:
**path=D:\Program Files\Java\openjdk-20.0.1_windows-x64_bin\bin;**

In the session setup window, manually set the real environment variables. I don't know why only the path of Node.js is special, but after manually setting the environment variables, I can use it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the discrepancy with the Windows `set path` command and compare it with the environment variables shown in WindTerm's session setup window. Trace how the session imports PATH and verify that all entries are preserved, including the Node.js and Java paths; done means the session reports the same PATH as the system.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.