issue26083: Avoid duplicate error message string from a subprocess exec failure.Avoid a duplicate error message string from a subprocess exec failure.
:P
This commit is contained in:
parent
cb0fc27f20
commit
253c0bff9a
|
@ -1317,7 +1317,7 @@ class Popen(object):
|
|||
|
||||
# Wait for exec to fail or succeed; possibly raising exception
|
||||
data = _eintr_retry_call(os.read, errpipe_read, 1048576)
|
||||
pickle_bits = [data]
|
||||
pickle_bits = []
|
||||
while data:
|
||||
pickle_bits.append(data)
|
||||
data = _eintr_retry_call(os.read, errpipe_read, 1048576)
|
||||
|
|
Loading…
Reference in New Issue