在Cygwin中运行时南特悬挂 [英] nant hanging when run in cygwin

查看:115
本文介绍了在Cygwin中运行时南特悬挂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天下午我更新到cygwin 1.7.15,并运行了今天早上成功运行的相同nant脚本,除了nant现在挂起-从未显示任何输出.我已经验证了nant(0.91.3881.0 alpha2)仍然可以在Windows cmd提示符下运行,并且我尝试在cygwin上rebaseall时没有任何运气.

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.

编辑:在1.7.15中,nant不会在任务管理器或Process Explorer(sysinternals)中显示为进程.

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

我如何让nant在cygwin中恢复工作?

How do I get nant back working in cygwin?

推荐答案

这似乎是已知的错误,即将修复.该修复程序似乎没有ETA.您可以通过恢复到Cygwin 1.7.14来解决此问题.重定向stderr和stdout不起作用.

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.

如果您使用非Cygwin dll",请确保将CYGWIN环境变量设置为pipe_byte(查看更多信息).

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

这篇关于在Cygwin中运行时南特悬挂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆