diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-05-30 14:25:01 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-07-15 15:49:07 +0200 |
commit | 00f133458b72239000a39786d9a36ea2df7f2d8e (patch) | |
tree | 1979202a891de1c9ab8a2f8dca1c30992558d9ef /ipatests/test_integration/base.py | |
parent | 353f3c62c3dc95db471a2b23fcd90d6071542362 (diff) | |
download | freeipa-00f133458b72239000a39786d9a36ea2df7f2d8e.tar.gz freeipa-00f133458b72239000a39786d9a36ea2df7f2d8e.tar.xz freeipa-00f133458b72239000a39786d9a36ea2df7f2d8e.zip |
Introduce a class for remote commands
Introduce a class inspired by subprocess.Popen that handles
running a command on a remote machine and handling its output.
To separate stdout & stderr streams of a remote command,
they need to be read in parallel, so that one of them doesn't
stall the runner when its buffer fills up. Accomplish this
by using a thread for each stream.
Part of the work for: https://fedorahosted.org/freeipa/ticket/3621
Diffstat (limited to 'ipatests/test_integration/base.py')
0 files changed, 0 insertions, 0 deletions