Git Bash终端打不开的解决办法

Error:could not fork child process: There are no available terminals (-1).

1、在cmd中命令输入tasklist      查看 git-bash.exe进程,找到对应的进程号pid
2、tasklist | findstr 进程号pid                 #找到进程号对应的进程
3、taskkill /pid 进程号pid -t -f                 #是终止相应进程号的命令,终止后,即可打开git bash 终端

如果还是不行,重启电脑就OK了

 

 

 

 

 

 

 

 

相关文章:

  • 2021-11-03
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-07-27
  • 2021-07-30
猜你喜欢
  • 2021-08-25
  • 2021-10-11
  • 2022-12-23
  • 2021-07-23
  • 2022-01-17
相关资源
相似解决方案