馨花綺夢
2 years ago
Vagrant與ConEmu同時使用時,會造成Vagrant中(隸屬於Ruby)的IO功能拿不到任何stdout, stderr。
查證之後發現是ConEmuHk.dll裡面可能與Ruby的IO發生衝突,需要讓ConEmu取消掛勾。

Ref: Running command in conemu produces error, but same c...
馨花綺夢
2 years ago
會發生這事情主要是因為很多開發者會使用ConEmu, Cmder之類的工具管理多個Command Line(cmd, powershell, bash),ComEmuHk.dll會使用Windows原生的API對這些程序掛勾,以便內部的命令與輸出有較低的延遲。
ConEmu | ConEmuHk - Hooks and Injects
立即下載