1.0.0 beta 2
Pre-release
Pre-release
1.0.0 Beta release 2
Changes
ParallelSSHClient.joinno longer consumes output buffers- Documented
use_ptyparameter ofrun_command - Misc documentation updates
SSHClientread_output_bufferis now public function and has gained callback capability- If using the single
SSHClientdirectly,read_output_buffershould now be used to read output buffers - this is not needed forParallelSSHClient
ParallelSSHClient.join change means that the following two code sections are now equivalent
output = client.run_command(<..>)
stdout = list(output[host]['stdout']
exit_code = output[host]['exit_code']
output = client.run_command(<..>)
client.join(output)
exit_code = output[host]['exit_code']
stdout = list(output[host]['stdout']
stdout in the second section will contain standard output. Previously it would be empty if client.join was called before stdout iteration. Exit codes will be available in both cases, as previously.