Sorry, I still don’t have any ideas on how to solve this issue by creating this class. 
When I use `getenv("PATH")`, the value of the PATH variable still doesn’t refresh in real-time; it’s always the initial value.
Could you share the code for this feature?

When I use `getenv("PATH")`, the value of the PATH variable still doesn’t refresh in real-time; it’s always the initial value.
Could you share the code for this feature?
