just
just copied to clipboard
Fix #2947
On Windows, explicitly set $PATH of spawned child processes so that executables resolve in $PATH order, and C:\Windows\System32 doesn't override it.
Fixes #2947