mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-17 03:23:13 +03:00
Patch for an Issue #589
This commit is contained in:
parent
6c80f2903b
commit
41d6c1af82
|
@ -120,7 +120,7 @@ class Popen(subprocess.Popen):
|
||||||
nAvail = maxsize
|
nAvail = maxsize
|
||||||
if nAvail > 0:
|
if nAvail > 0:
|
||||||
(errCode, read) = ReadFile(x, nAvail, None)
|
(errCode, read) = ReadFile(x, nAvail, None)
|
||||||
except ValueError:
|
except (ValueError, NameError):
|
||||||
return self._close(which)
|
return self._close(which)
|
||||||
except (subprocess.pywintypes.error, Exception), why:
|
except (subprocess.pywintypes.error, Exception), why:
|
||||||
if why[0] in (109, errno.ESHUTDOWN):
|
if why[0] in (109, errno.ESHUTDOWN):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user