diff options
author | Brian Sang <sang.bri@gmail.com> | 2019-01-04 22:16:28 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2019-01-05 14:38:53 -0800 |
commit | d2f9413b0311e6ec4d782cf9983f61c9f258cc7b (patch) | |
tree | d7c6c098324d02203ebdeea5657b984d70e9a4e9 /kafka/admin/client.py | |
parent | 70ea4c1e94a0ace46d3418fb0ee503bbf8a5b91b (diff) | |
download | kafka-python-d2f9413b0311e6ec4d782cf9983f61c9f258cc7b.tar.gz |
Use Popen.communicate() instead of Popen.wait()
Popen objects may deadlock when using stdout=PIPE or stderr=PIPE
with Popen.wait(). Using Popen.communicate() avoids the issue.
Diffstat (limited to 'kafka/admin/client.py')
0 files changed, 0 insertions, 0 deletions