git-bash进程占用的问题

923 阅读1分钟

1、报错命令

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

2、解决方法

在cmd窗口中输入
tasklist 查看 git-bash.exe或者bash.exe的进程
找到相应的进程号 如图
终止相应进程号为16524和25060的命令:
taskkill /pid 16524 -t -f