We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7493057 commit dfa0eacCopy full SHA for dfa0eac
git/cmd.py
@@ -365,8 +365,11 @@ def __del__(self):
365
proc.stderr.close()
366
367
# did the process finish already so we have a return code ?
368
- if proc.poll() is not None:
369
- return
+ try:
+ if proc.poll() is not None:
370
+ return
371
+ except OSError as ex:
372
+ log.info("Ignored error after process had died: %r", ex)
373
374
# can be that nothing really exists anymore ...
375
if os is None or getattr(os, 'kill', None) is None:
0 commit comments