-
-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Hello,
First, thank you for creating such a useful tool. I use it every day and find it invaluable.
I've encountered a minor issue where SystemTrayMenu does not seem to recognize changes to system environment variables while it is running.
For example, if I install a new application that modifies the system's PATH variable, any new Command Prompt instance launched from SystemTrayMenu will not inherit the updated PATH. It continues to use the environment variables that were present when SystemTrayMenu was first started.
The only workaround is to completely exit and restart SystemTrayMenu , which is inconvenient for an application designed to run continuously in the system tray.
Steps to Reproduce
- Start SystemTrayMenu .
- Create a button to launch the Windows Command Prompt (cmd.exe).
- Modify a system environment variable. For example, add a new directory (e.g., C:\MyTestFolder) to the system PATH.
- Click the Command Prompt button in SystemTrayMenu to launch a new terminal.
- In the new command prompt window, type path and press Enter.
Actual Result:
The output of the path command does not include the newly added directory (C:\MyTestFolder).
Expected Result:
The output of the path command should include the new directory, reflecting the current system settings, just as it would if launched from the Windows Start Menu.
Suggested Behavior
Ideally, SystemTrayMenu would automatically (or optionally) detect system setting changes. When a program is launched from a SystemTrayMenu button, it should always inherit the most current system environment variables without requiring a restart of the application.
Thank you for your time and for this great application.
Metadata
Metadata
Assignees
Labels
Projects
Status