1. 程式人生 > >Git bash Error: Could not fork child process: There are no available terminals (-1)

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

1, 在dos視窗中輸入tasklist 檢視 git-bash.exe程序,找到對應的程序號PID,如圖:git-bash.exe的程序號為:6444

2,tasklist|findstr 6444是找到程序號對應的程序

3,taskkill /pid 6444 -t -f 是終止相應程序號為6444的命令,終止後,即可開啟git bash 終端