Git bash错误:无法分叉子进程:没有可用的终端(-1) [英] Git bash Error: Could not fork child process: There are no available terminals (-1)

查看:3439
本文介绍了Git bash错误:无法分叉子进程:没有可用的终端(-1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多达8个git bash终端在同一时间运行。



目前我只有2个。



我之前没有看到这个错误,我不理解什么



任何帮助将不胜感激!



附图:



解决方案

找到类似的问题和潜力解决方案: https://groups.google.com/forum/ #!topic / git-for-windows / EO27WWvHx64


我不确定你们是否还有问题与此,但我发现了一个非常简单的修复程序,为我工作。我打开了一个Windows命令提示符并运行命令$ tasklist



看起来好像我在git bash shell中创建的ssh连接在这些窗口没有关闭时被关闭并挂在可用的git bash shell窗口中。

这可能是一个危险的解决方案,但是从Windows命令提示符运行$ taskkill / F / IM ssh.exe

在此之后,一切似乎都恢复正常。它可能不是直接的孤儿过程问题,但至少对我而言这是有效的。祝你好运!



I have had up to 8 git bash terminals running at the same time before.

Currently I have only 2 up.

I have not seen this error before and I am not understanding what is causing it.

Any help would be appreciated!

Picture attached:

解决方案

Found a similar issue and potential solution here: https://groups.google.com/forum/#!topic/git-for-windows/EO27WWvHx64

I'm not sure if you guys are still having a problem with this, but I found a very simple fix that worked for me. 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. Good luck!

这篇关于Git bash错误:无法分叉子进程:没有可用的终端(-1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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