You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I change PATH user environment variable, I need restart Windows, that changes will apply in Sublime Text plugins. It would be nice, if will be enough to restart Sublime Text, not Windows.
2. Settings
For example, I install Selenium → I install Geckodriver → I add path to Geckodriver as value of PATH user environment variable.
I have a test plugin for test the Selenium working in Sublime Text.
This is standard Windows behavior for all applications (OS behavior, even) and certainly won't be changed.
Changes to the environment variables are only carried over to child processes but never to parents. If you change environment variables in the Windows settings, they get immediately carried over to explorer.exe, meaning any process you launch from it gets the updated environment variables, but no currently running process. Subsequently, any process launched from a currently running (and un-updated) process will also not inherit the updated env.
Basically, you need to relaunch conemu to make it pick up the environment changes (or do it directly in the cmd process it hosts using the method @keith-hall described) or launch ST from your desktop, i.e. via explorer.exe.
Possibly related question, because I run terminal use ConEmuOpen package. If I run ConEmu not from Sublime Text, I don't get this problem.
1. Summary
If I change
PATH
user environment variable, I need restart Windows, that changes will apply in Sublime Text plugins. It would be nice, if will be enough to restart Sublime Text, not Windows.2. Settings
For example, I install Selenium → I install Geckodriver → I add path to Geckodriver as value of
PATH
user environment variable.I have a test plugin for test the Selenium working in Sublime Text.
3. Steps to reproduce
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I reproduce the problem for another CLI applications.
I restart Sublime Text → I open any file in Sublime Text → I run
window.run_command('run_selenium')
in Sublime Text console.4. Actual behavior
5. Expected behavior
If I restart Windows, plugin successful test for me, I don't get stack trace.
6. Environment
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126
Thanks.
The text was updated successfully, but these errors were encountered: