Workaround endless waiting when git.exe already exited
By @ch3cooli on June 12, 2012 15:39 (imported from Google Code)
Sometimes, git.exe already exited. But TortoiseGit is still waiting stdout. e.g. Push / Pull
Create a new thread to monitor process ID to check whether git.exe already exited or not. If exited, g_git.Run() can return.