Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable CLI when invoked from WSL on modern (RS4) hosts
Fixes issue #39892 There's one minor gotchya: this script tests for a modern WSL release (which supports the WSLENV feature) using the existence of /bin/wslpath. Per https://docs.microsoft.com/en-us/windows/wsl/release-notes, wslpath was added in build 17046 but WSLENV is only supported in the subsequent build (17063). Both those builds were only shipped as Windows insider builds, so this test should be safe enough.
- Loading branch information