Method: Beaker::SshConnection#register_exit_code_for
- Defined in:
- lib/beaker/ssh_connection.rb
#register_exit_code_for(channel, output) ⇒ Object
274 275 276 277 278 |
# File 'lib/beaker/ssh_connection.rb', line 274 def register_exit_code_for channel, output channel.on_request("exit-status") do |_ch, data| output.exit_code = data.read_long end end |