Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41d6c1a

Browse files
committed
Patch for an Issue #589
1 parent 6c80f29 commit 41d6c1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/subprocessng.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _recv(self, which, maxsize):
120120
nAvail = maxsize
121121
if nAvail > 0:
122122
(errCode, read) = ReadFile(x, nAvail, None)
123-
except ValueError:
123+
except (ValueError, NameError):
124124
return self._close(which)
125125
except (subprocess.pywintypes.error, Exception), why:
126126
if why[0] in (109, errno.ESHUTDOWN):

0 commit comments

Comments
 (0)