Git bash Error: Could not fork child process: There are no available terminals (-1)

后端 未结 28 2103
抹茶落季
抹茶落季 2020-12-12 12:17

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 understand

相关标签:
28条回答
  • 2020-12-12 12:50

    Open your Task manager, search "sh" procces and kill them. Good luck

    0 讨论(0)
  • 2020-12-12 12:50

    Im my case, the solution was to close Visual Studio Code -where I had console running too without noticing-

    After closing it all back to normal. Hope this helps someone.

    0 讨论(0)
  • 2020-12-12 12:51

    To make life easier (this problems happens quite often) create a file called fixbash.bat in home directory and paste this:

    taskkill /F /IM ssh-agent.exe

    When problem occurs just open cmd and type fixbash.bat to fix a problem.

    Or

    Just paste the taskkill command into your cmd if you don't want to create a script.

    0 讨论(0)
  • 2020-12-12 12:51

    Restart your machine.

    (The other answers did not work for me. (I didn't try reinstalling. Restarting is probably faster.))

    0 讨论(0)
提交回复
热议问题