| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7493057 commit dfa0eac
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -365,8 +365,11 @@ def __del__(self): | |||
| 365 | 365 | proc.stderr.close() | |
| 366 | 366 | ||
| 367 | 367 | # did the process finish already so we have a return code ? | |
| 368 | - if proc.poll() is not None: | ||
| 369 | - return | ||
| 368 | + try: | ||
| 369 | + if proc.poll() is not None: | ||
| 370 | + return | ||
| 371 | + except OSError as ex: | ||
| 372 | + log.info("Ignored error after process had died: %r", ex) | ||
| 370 | 373 | ||
| 371 | 374 | # can be that nothing really exists anymore ... | |
| 372 | 375 | if os is None or getattr(os, 'kill', None) is None: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments