microsoft / python-environment-tools

MIT License
75 stars 4 forks source link

Avoid spawning processes too many times #57

Open DonJayamanne opened 1 week ago

DonJayamanne commented 1 week ago

This ensures we do not try to discover something when it has already been discovered. A side effect of not fixing is, is that on linux some exes can get spawned 3 times, and if there are symlinks (100% of time there are on linux), then we end up with

Total number of spawns = 3 x Number of symlinks x Number of Python exes Now is just 1 per environment.