github ParallelSSH/parallel-ssh 1.0.0b2
1.0.0 beta 2

latest releases: 2.14.0, 2.13.0, 2.13.0rc1...
pre-release8 years ago

1.0.0 Beta release 2

Changes

  • ParallelSSHClient.join no longer consumes output buffers
  • Documented use_pty parameter of run_command
  • Misc documentation updates
  • SSHClient read_output_buffer is now public function and has gained callback capability
  • If using the single SSHClient directly, read_output_buffer should now be used to read output buffers - this is not needed for ParallelSSHClient

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.

Don't miss a new parallel-ssh release

NewReleases is sending notifications on new releases.