PowerToys: Missing user PATH env variables when launching IntelliJ Idea with PowerToys Run
Microsoft PowerToys version
0.60.1
Running as admin
- Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
- Uninstall and install PowerToys
- Launch Command Prompt with PowerToys Run
- Type
echo %PATH%
✔️ Expected Behavior
Both user and system PATH environment variables are printed out just like when Command Prompt is launched with Start menu.
❌ Actual Behavior
Only system PATH environment variables are printed out. Restarting PowerToys after a fresh installation fixes this issue.
Other Software
Command Prompt
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (2 by maintainers)
@headsvk, @crutkas It’s like I expected. The log contains the warnings and that means that PT starts with a set of environment variables that is different to what it should be:
(I think all other variables were updated to the correct value.)
@yuyoyuppe Can you please check what the problem in WIX/Installer might be. I think PT’s process is created with an incorrect set of variables (see https://github.com/microsoft/PowerToys/issues/19532#issuecomment-1190547041) when starting from installer.
I’ll check the rest tomorrow