mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Fix filedescriptor out of range in select() when running commands
* Simplify the run_command() code
Now that we're using selectors in run_command(), we can simplify some of
the code.
* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
instead.
Also use a simpler conditional check of whether the selector map is
empty
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>.
(cherry picked from commit
|
6 years ago | |
|---|---|---|
| .. | ||
| acme | 6 years ago | |
| aws | ||
| basic | 6 years ago | |
| cloud | ||
| common | 6 years ago | |
| docker | 6 years ago | |
| ec2 | ||
| facts | 6 years ago | |
| gcp | 7 years ago | |
| hwc | 7 years ago | |
| identity/keycloak | 6 years ago | |
| json_utils | 7 years ago | |
| net_tools | 7 years ago | |
| network | 6 years ago | |
| parsing | ||
| postgresql | 7 years ago | |
| remote_management | 7 years ago | |
| urls | 6 years ago | |
| xenserver | 6 years ago | |
| __init__.py | ||
| conftest.py | ||
| test_database.py | ||
| test_distribution_version.py | 7 years ago | |
| test_distro.py | 7 years ago | |
| test_hetzner.py | 7 years ago | |
| test_known_hosts.py | 7 years ago | |
| test_kubevirt.py | 7 years ago | |
| test_netapp.py | 6 years ago | |
| test_text.py | ||
| test_utm_utils.py | 7 years ago | |
| test_vmware.py | 6 years ago | |