class Kontena::Cli::Containers::ExecCommand
Public Instance Methods
execute()
click to toggle source
# File lib/kontena/cli/containers/exec_command.rb, line 21 def execute exit_status = container_exec("#{current_grid}/#{self.container_id}", self.cmd_list, interactive: interactive?, shell: shell?, tty: tty?, ) exit exit_status unless exit_status.zero? end