让Windows 10的bash与console2一起使用

Fel*_*sén 3 bash console2 windows-10

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

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

C:\windows\System32\cmd.exe /c "c:\windows\system32\bash.exe"
Run Code Online (Sandbox Code Playgroud)

我无法启动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.
Run Code Online (Sandbox Code Playgroud)

但我也可以正常地走这条道路.

Tol*_*kur 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元素添加属性.