Giter Club home page Giter Club logo

Comments (7)

spencerwooo avatar spencerwooo commented on May 29, 2024

试试直接进入 C 盘然后再使用 wsl-open,即:

cd /mnt/c
wsl-open .

当然,我看你报错信息是找不到 powershell.exe 路径,所以如果上面不行的话再试试:

cd /mnt/c
explorer.exe .

from dowww.

pk49800 avatar pk49800 commented on May 29, 2024

按照你的提示来也不行
[sudo] password for pk49800:
~# cd /mnt/c
/mnt/c# wsl-open .
/usr/local/bin/wsl-open: line 227: powershell.exe: command not found
exit 127
/mnt/c# explorer.exe
zsh: command not found: explorer.exe
exit 127
/mnt/c#

from dowww.

spencerwooo avatar spencerwooo commented on May 29, 2024

为什么有 sudo?你能在 WSL 环境下唤起 PowerShell 吗?

from dowww.

pk49800 avatar pk49800 commented on May 29, 2024

sudo那一句是我输入root密码切换到root环境的,WSL环境也没法唤起powershell
/mnt/c/Windows/System32/WindowsPowerShell/v1.0# powershell.exe
zsh: command not found: powershell.exe
exit 127
/mnt/c/Windows/System32/WindowsPowerShell/v1.0# wsl-open powershell.exe
/usr/local/bin/wsl-open: line 227: powershell.exe: command not found
exit 127

from dowww.

spencerwooo avatar spencerwooo commented on May 29, 2024

不知道这个问题怎么解决了。。。

from dowww.

pk49800 avatar pk49800 commented on May 29, 2024

我无法在wsl里面运行exe应用程序

from dowww.

spencerwooo avatar spencerwooo commented on May 29, 2024

Stale, closed.

from dowww.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.