summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 63a7134e..75687a41 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -80,6 +80,7 @@ class Git(LazyMixin):
# try to kill it
try:
os.kill(self.proc.pid, 2) # interrupt signal
+ self.proc.wait() # ensure process goes away
except AttributeError:
# try windows
# for some reason, providing None for stdout/stderr still prints something. This is why