nant hanging when run in cygwin

偶尔善良 提交于 2019-12-13 04:58:28

问题


I updated to cygwin 1.7.15 this afternoon and went to run the same nant script I ran successfully this morning, except that nant now hangs - no output is ever shown. I've verified nant (0.91.3881.0 alpha2) still runs in a windows cmd prompt and I've tried to rebaseall on cygwin without any luck.

Edit: In 1.7.15, nant doesn't show as a process in task manager nor Process Explorer (sysinternals).

How do I get nant back working in cygwin?


回答1:


It looks like this is a known bug with a fix coming. There doesn't appear to be an ETA on the fix. You can work around it by reverting to Cygwin 1.7.14. Redirecting stderr and stdout doesn't work.

If you use "non-cygwin dlls" make sure you set the CYGWIN environment variable to pipe_byte (see here for more info).



来源:https://stackoverflow.com/questions/10804710/nant-hanging-when-run-in-cygwin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!