当我尝试在 Atom 上运行命令以"bash.exe"时,我遇到了很多问题。
循序渐进
- 为 Windows 10 启用"Bash Ubuntu"。
- 在"Bash Ubuntu"上为我的应用程序设置编译器。
- 从"bash.exe"和"powershell.exe"进行测试。一切正常。
- 安装 Atom。
- 在 Atom 上创建一个运行器。
- 获取味精"Erro:0x80070057">
可能的解决方案
- 在Powershell上禁用旧模式(github.com/Microsoft/BashOnWindows/issues/7(
- 使用Powershell ISE (github.com/Microsoft/BashOnWindows/issues/430(
我已经尝试了上面的两个链接,但没有任何效果。
这是我的Atom错误和我的Powershell工作:
- Atom IDE with Runner
- 具有相同命令的Powershell
知道吗?谢谢
正如一位 Atom 开发人员在 GitHub 上所说:
"我们支持仅使用我们的原生Windows环境在Windows上构建Atom。没有支持也没有计划支持使用WSL在Windows上编译Linux版本的Atom。
您可以在以下位置查看: https://github.com/atom/atom/issues/13774#issuecomment-278741701