【发布时间】:2020-08-24 10:03:10
【问题描述】:
我可以运行 code 从 WSL2 内部启动 VSCode。
我将如何启动 Edge(当前基于 Chromium 的)?
我试过了:
~/Code/company/workshops-website$ cmd.exe /c 'start microsoft-edge:\\wsl$\Ubuntu\home\mike\Code\company\workshops-website\index.html'
'\\wsl$\Ubuntu\home\mike\Code\company\workshops-website'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
它启动 Edge 但不打开 index.html(而是 Edge 搜索它)
如何从 WSL2 内部启动 Edge?
我很乐意制作 bash 别名、函数等。
【问题讨论】:
标签: microsoft-edge windows-subsystem-for-linux wsl-2