summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 4a49bc1b..ef370fe2 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -103,7 +103,7 @@ class Git(LazyMixin):
try:
os.kill(self.proc.pid, 2) # interrupt signal
self.proc.wait() # ensure process goes away
- except OSError:
+ except (OSError, WindowsError):
pass # ignore error when process already died
except AttributeError:
# try windows