# File lib/net/ssh/shell.rb, line 108 def child_finished(child) channel.on_close(&method(:on_channel_close)) if !channel.nil? processes.delete(child) run_next_process end