“环境变量太多”当尝试从 Hudson 启动 cywin shell 时
我正在尝试在 cygwin 中的 Windows XP Hudson 从机上执行脚本。这是在 Hudson 中配置的 shell 命令:
#!C:\cygwin\bin\bash.exe
echo "hello"
似乎在 Windows 计算机上启动 cygwin 时遇到问题,我收到此错误:
2 [main] bash 2692 C:\cygwin\bin\bash.exe: *** fatal error - C:\cygwin\bin\bash.exe:
*** internal error reading the windows environment - too many environment variables?
那么还有其他人经历过这种情况吗?以及有关如何获取 cygwin 的任何想法要运行的脚本?
I'm trying to execute a script on a Windows XP Hudson slave in cygwin. This is the shell command as it is configured in Hudson:
#!C:\cygwin\bin\bash.exe
echo "hello"
It seems like it's having a problem getting cygwin to launch on the windows machine and I'm getting this error:
2 [main] bash 2692 C:\cygwin\bin\bash.exe: *** fatal error - C:\cygwin\bin\bash.exe:
*** internal error reading the windows environment - too many environment variables?
So has anyone else experienced this, and any ideas on how to get the script to run?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您遇到这个旧错误,我不会感到惊讶
来自http://cygwin.com/ml/cygwin/2005-09/msg00646。 html
您还可以查看从 Windows 快捷方式启动 emacs 的解决方法(与您遇到的错误消息相同)。也许您可以更改 bash 调用以合并 cygwin run 命令,如下文所述。
http://cygwin.com/ml/cygwin/2006-03/msg00156.html
I wouldn't be surprised if you hit this old error
from http://cygwin.com/ml/cygwin/2005-09/msg00646.html
You can also look at a workaround for starting emacs from a windows shortcut (same error message that you have). May be you can change your bash call to incorporate the cygwin run command as described in the following post.
http://cygwin.com/ml/cygwin/2006-03/msg00156.html