mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
b386f5e5df
RemoteProcess behaves more like subprocess.Popen, with some important differences. A summary of the API changes: * RemoteProcess.exitstatus is either an int or None; it is never a callable nor a gevent.AsyncResult. * New method: RemoteProcess.execute() * New method: RemoteProcess.poll() * New method: RemoteProcess.wait() * New attribute: RemoteProcess.returncode - alias to exitstatus * New property: RemoteProcess.finished - added because returncode can be None if the connection was interrupted * run.execute() is removed. Signed-off-by: Zack Cerza <zack.cerza@inktank.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_cluster.py | ||
test_connection.py | ||
test_integration.py | ||
test_remote.py | ||
test_run.py | ||
util.py |