Skip to content

enable CLI when invoked from WSL on modern (RS4) hosts#44945

Merged
Tyriar merged 1 commit intomicrosoft:masterfrom
0xabu:wsl-cli-fix
May 15, 2018
Merged

enable CLI when invoked from WSL on modern (RS4) hosts#44945
Tyriar merged 1 commit intomicrosoft:masterfrom
0xabu:wsl-cli-fix

Conversation

@0xabu
Copy link
Copy Markdown
Contributor

@0xabu 0xabu commented Mar 2, 2018

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.

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.
@0xabu
Copy link
Copy Markdown
Contributor Author

0xabu commented Mar 2, 2018

FWIW, I'm reasonably confident that the OSX build failure has nothing to do with this change :)

@Tyriar Tyriar added this to the March 2018 milestone Mar 3, 2018
@bpasero bpasero modified the milestones: March 2018, April 2018 Apr 6, 2018
@0xabu
Copy link
Copy Markdown
Contributor Author

0xabu commented Apr 24, 2018

Ping @Tyriar -- any chance of getting this in for April?

@Tyriar
Copy link
Copy Markdown
Contributor

Tyriar commented Apr 30, 2018

@0xabu sorry somehow I missed this one completely as it was still on March 😕 and was just on leave, will look at it this week for the May release (it's too late for April).

@Tyriar Tyriar modified the milestones: April 2018, May 2018 Apr 30, 2018
Copy link
Copy Markdown
Contributor

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! Sorry again about the big delay 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants