Method: #execute_with_tty
- Defined in:
- lib/underglow/capistrano/helpers.rb
#execute_with_tty(*args) ⇒ Object
SSH with pseudo-tty
17 18 19 |
# File 'lib/underglow/capistrano/helpers.rb', line 17 def execute_with_tty(*args) exec "ssh #{host.user}@#{host.hostname} -t '#{command(*args).to_command}'" end |