enable CLI when invoked from WSL on modern (RS4) hosts
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.

Microsoft/vscode,cleidigh/vscode,cleidigh/vscode,cleidigh/vscode,eamodio/vscode,cleidigh/vscode,the-ress/vscode,joaomoreno/vscode,DustinCampbell/vscode,Microsoft/vscode,0xmohit/vscode,0xmohit/vscode,the-ress/vscode,mjbvz/vscode,0xmohit/vscode,rishii7/vscode,DustinCampbell/vscode,the-ress/vscode,microsoft/vscode,rishii7/vscode,microlv/vscode,eamodio/vscode,microlv/vscode,landonepps/vscode,Krzysztof-Cieslak/vscode,0xmohit/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,DustinCampbell/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,eamodio/vscode,hoovercj/vscode,the-ress/vscode,microsoft/vscode,rishii7/vscode,DustinCampbell/vscode,Microsoft/vscode,microsoft/vscode,DustinCampbell/vscode,microlv/vscode,Microsoft/vscode,joaomoreno/vscode,joaomoreno/vscode,hoovercj/vscode,microlv/vscode,cleidigh/vscode,eamodio/vscode,hoovercj/vscode,Microsoft/vscode,the-ress/vscode,eamodio/vscode,0xmohit/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,mjbvz/vscode,microlv/vscode,landonepps/vscode,the-ress/vscode,hoovercj/vscode,hoovercj/vscode,microsoft/vscode,mjbvz/vscode,eamodio/vscode,rishii7/vscode,the-ress/vscode,microlv/vscode,microlv/vscode,cleidigh/vscode,Krzysztof-Cieslak/vscode,landonepps/vscode,landonepps/vscode,microsoft/vscode,eamodio/vscode,hoovercj/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,cleidigh/vscode,mjbvz/vscode,joaomoreno/vscode,DustinCampbell/vscode,0xmohit/vscode,joaomoreno/vscode,DustinCampbell/vscode,cleidigh/vscode,mjbvz/vscode,Krzysztof-Cieslak/vscode,rishii7/vscode,0xmohit/vscode,microlv/vscode,hoovercj/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,DustinCampbell/vscode,hoovercj/vscode,microlv/vscode,joaomoreno/vscode,DustinCampbell/vscode,landonepps/vscode,landonepps/vscode,0xmohit/vscode,the-ress/vscode,rishii7/vscode,joaomoreno/vscode,mjbvz/vscode,DustinCampbell/vscode,cleidigh/vscode,cleidigh/vscode,rishii7/vscode,cleidigh/vscode,microlv/vscode,DustinCampbell/vscode,0xmohit/vscode,0xmohit/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,microsoft/vscode,the-ress/vscode,cleidigh/vscode,eamodio/vscode,DustinCampbell/vscode,DustinCampbell/vscode,microlv/vscode,microlv/vscode,landonepps/vscode,rishii7/vscode,hoovercj/vscode,DustinCampbell/vscode,landonepps/vscode,microsoft/vscode,landonepps/vscode,Krzysztof-Cieslak/vscode,rishii7/vscode,microsoft/vscode,cleidigh/vscode,mjbvz/vscode,landonepps/vscode,eamodio/vscode,eamodio/vscode,DustinCampbell/vscode,landonepps/vscode,Microsoft/vscode,rishii7/vscode,hoovercj/vscode,mjbvz/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,cleidigh/vscode,joaomoreno/vscode,Microsoft/vscode,landonepps/vscode,mjbvz/vscode,mjbvz/vscode,landonepps/vscode,0xmohit/vscode,Microsoft/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,0xmohit/vscode,Microsoft/vscode,microsoft/vscode,landonepps/vscode,the-ress/vscode,hoovercj/vscode,the-ress/vscode,microsoft/vscode,joaomoreno/vscode,Microsoft/vscode,mjbvz/vscode,joaomoreno/vscode,cleidigh/vscode,hoovercj/vscode,rishii7/vscode,the-ress/vscode,microlv/vscode,mjbvz/vscode,0xmohit/vscode,microsoft/vscode,DustinCampbell/vscode,eamodio/vscode,hoovercj/vscode,rishii7/vscode,Microsoft/vscode,microsoft/vscode,the-ress/vscode,mjbvz/vscode,rishii7/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,mjbvz/vscode,joaomoreno/vscode,joaomoreno/vscode,rishii7/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,microlv/vscode,0xmohit/vscode,microlv/vscode,eamodio/vscode,landonepps/vscode,eamodio/vscode,rishii7/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,microsoft/vscode,cleidigh/vscode,microsoft/vscode,DustinCampbell/vscode,Microsoft/vscode,0xmohit/vscode,mjbvz/vscode,rishii7/vscode,0xmohit/vscode,mjbvz/vscode,joaomoreno/vscode,cleidigh/vscode,Microsoft/vscode,landonepps/vscode,hoovercj/vscode,0xmohit/vscode,eamodio/vscode,eamodio/vscode,microlv/vscode,microlv/vscode,eamodio/vscode,rishii7/vscode,joaomoreno/vscode,mjbvz/vscode,hoovercj/vscode,hoovercj/vscode,Microsoft/vscode,landonepps/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode