Closed. 这个问题不符合堆栈溢出指南 /help/closed-questions 。目前不接受答案。
随着最近推出的 Windows 内部版本 14316,我们拥有了适用于 Linux 的 Windows 子系统(测试版),它允许在 Windows 上运行 Ubuntu Linux CLI 软件。
可以通过运行来启动bash
Windows PowerShell 中的命令或通过“Bash on Ubuntu on Windows”应用程序。
所以,我的问题是关于第一种方式。我们可以推出bash
来自 PowerShell,但无法从中使用其他 ubuntu CLI 应用程序。你如何创作一部作品?假设我想要zsh
无需使用 bash 即可启动。
还没有,根据Windows 博客:在 Windows 上的 Ubuntu 上运行 Bash https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/ :
第三,请注意,Bash 和 Linux 工具无法与 Windows 应用程序和工具交互,反之亦然。因此,您将无法从 Bash 运行记事本,也无法从 PowerShell 在 Bash 中运行 Ruby。
More 在 Microsoft/CommandLine-Documentation#32 中 https://github.com/Microsoft/CommandLine-Documentation/issues/32#issuecomment-207806616 ,这是关于从 Bash 中运行 win32 命令的相关功能:
请放心,我们将在未来研究互操作问题,但我们不会在 Windows 10 周年更新时间范围内添加此功能。
你可能会有一些运气-c
的选项bash
运行特定命令。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)