Files
vscode/resources/win32/bin/code.sh
Andrew Baumann 8505dcc469 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.
2018-03-02 11:17:03 -08:00

1.1 KiB