Open
Description
Here environment variables are set for the current process.
This means that spawning an unrelated child process after using ProjInfo is affected by those.
In my case, I have to reset them after, otherwise child dotnet
processes that I run myself don't work as expected.
Ideally ProjInfo would not change current process's environment, and if it does, it should at least revert any changes it makes (which doesn't help if other things are using the Environment in parallel, but is better than the current state).
If the environment is only set for the benefit of child processes, could ProcessStartInfo be utilised to set them for child processes only?
Metadata
Metadata
Assignees
Labels
No labels
Activity