gpt4 book ai didi

Git 庆典错误 : Could not fork child process: There are no available terminals (-1)

转载 作者:IT王子 更新时间:2023-10-29 01:21:44 26 4
gpt4 key购买 nike

我以前最多同时运行 8 个 git bash 终端。

目前我只有 2 个。

我以前没有见过这个错误,我不明白是什么导致了它。

如有任何帮助,我们将不胜感激!

附上图片:

enter image description here

最佳答案

google groups中发现了类似的问题和解决方案

I opened a windows command prompt and ran the command

$ tasklist

It looks as though the ssh connections I had made in my git bash shells weren't being closed when those windows were closed and were hanging the available git bash shell windows.

This may be a dangerous solution but from the windows command prompt I ran

$ taskkill /F /IM ssh.exe 

Everything appears to be working again after this. It may not have directly been an issue of orphan processes, but this worked for at least for me.

补充说明:您还可以终止其他进程,例如:

$ taskkill /F /IM vim.exe

关于Git 庆典错误 : Could not fork child process: There are no available terminals (-1),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45799650/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com