3

我最近重置了我的电脑,现在无法让它工作。我真的不记得上次我是如何让它工作的。但我看到了这个指南:http ://sean-bedford.com/console2-bash/

但是当我尝试将我的外壳更改为:

C:\windows\System32\cmd.exe /c "c:\windows\system32\bash.exe"

我无法启动console2。

如果我尝试在run(WIN+R) 中运行路径,一切正常。

如果我将其更改为/c/k那么我可以运行它,但这会出现:

'c:\windows\system32\bash.exe' is not recognized as an internal or external command,
operable program or batch file.

但我也可以正常运行那条路。

4

1 回答 1

8

Windows 上的 Bash 是一个 64 位应用程序。如果您有 32 位 Console2,只需下载 64 位版本。

https://sourceforge.net/projects/console/files/console-devel/2.00/

而且,使用 64 位 Console2,您不需要使用 cmd.exe 包装 bash.exe

只需将 Shell 字段设置为控制台设置即可:C:\windows\system32\bash.exe ~

或者,如果您使用 console.xml 文件进行配置,则向元素添加shell="C:\windows\system32\bash.exe ~"属性。console

于 2016-10-07T07:46:55.560 回答