在Windows 7中启动Git Bash时出错 [英] Error starting Git Bash in windows 7
本文介绍了在Windows 7中启动Git Bash时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当开始 git bash
时,我得到这个错误:
When start git bash
, I get this error:
[main] bash 8176 child_copy: stack write copy failed, 0xFFFFBE50..0x1000 00000, done 2002650816, windows pid 11128, Win32 error 5
518 [main] bash 8176 fork: child 10232 - pid 10232, exitval 0x103, errno 11
bash: fork: retry: Resource temporarily unavailable
bash: fork: Resource temporarily unavailable
任何人都知道如何解决这个错误?
Anyone know how solved this error?
推荐答案
这通常与Cygwin错误相关,这意味着您已安装了Git 和 Cygwin,后者导致前者出现问题。
This is generally associated with Cygwin errors, meaning you have Git and Cygwin installed, the latter causing issue for the former.
请再试一次,在此答案中
Try again, as in this answer, with a CMD session where you set a simplified PATH:
set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
然后键入 git bash
。
这篇关于在Windows 7中启动Git Bash时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文