microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.46k stars 822 forks source link

[interop] Removal of legacy init means no more Edge or UWA apps from WSL #1582

Closed fpqc closed 7 years ago

fpqc commented 7 years ago

The old ability to run

init somewin32thing makes it impossible to launch edge anymore.

You had been able to swing it by doing

init microsoft-edge:https://microsoft.com

but now it seems there's no (edit: quick!) way to get edge or any other UWA app from inside WSL.

More generally, as a console matter, launching UWA apps is problematic since there is no exe you can easily point to, and you have to resort to hacks by calling the UWA app as a pseudo-protocol

canonical-uwappname:

benhillis commented 7 years ago

cmd.exe /c "start microsoft-edge:https://microsoft.com"

fpqc commented 7 years ago

@benhillis =(

First of all, you are correct. Second of all, =(.

I guess I'll close this thread. You've won this time!

benhillis commented 7 years ago

Lol. Thanks for your help as always!