Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emsdk activate latest --permenant does not add user's environment variables (PATH, ...) #1312

Open
vault-thirteen opened this issue Dec 4, 2023 · 1 comment

Comments

@vault-thirteen
Copy link

D:\Temp\1\emsdk>emsdk activate latest --permenant

Resolving SDK alias 'latest' to '3.1.50'
Resolving SDK version '3.1.50' to 'sdk-releases-2ce4170cef5ce46f337f9fd907b614a8db772c7d-64bit'
Setting the following tools as active:
   node-16.20.0-64bit
   python-3.9.2-nuget-64bit
   java-8.152-64bit
   releases-2ce4170cef5ce46f337f9fd907b614a8db772c7d-64bit

Adding directories to PATH:
PATH += D:\Temp\1\emsdk
PATH += D:\Temp\1\emsdk\upstream\emscripten

Setting environment variables:
PATH = D:\Temp\1\emsdk;D:\Temp\1\emsdk\upstream\emscripten;[...]
EMSDK = D:/Temp/1/emsdk
EMSDK_NODE = D:\Temp\1\emsdk\node\16.20.0_64bit\bin\node.exe
EMSDK_PYTHON = D:\Temp\1\emsdk\python\3.9.2-nuget_64bit\python.exe
JAVA_HOME = D:\Temp\1\emsdk\java\8.152_64bit
Clearing existing environment variable: EMSDK_PY
The changes made to environment variables only apply to the currently running shell instance. Use the 'emsdk_env.bat' to re-enter this environment later, or if you'd like to register this environment permanently, rerun this command with the option --permanent.

After closing this window and opening a new Command Prompt I see that no environment variables are saved.
Windows' tools also tell me that none of that variables were saved.

@vault-thirteen vault-thirteen changed the title emsdk activate latest --permenant does not add environment variables to user's PATH emsdk activate latest --permenant does not add user's environment variables (PATH, ...) Dec 4, 2023
@sbc100
Copy link
Collaborator

sbc100 commented Dec 4, 2023

Sorry, there was a typo in the original version of #1308. --permanent was spelt wrong in the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants