Method: Blender::Driver::SSHExec#fixup_sudo
- Defined in:
- lib/blender/drivers/ssh_exec.rb
#fixup_sudo(command) ⇒ Object
51 52 53 |
# File 'lib/blender/drivers/ssh_exec.rb', line 51 def fixup_sudo(command) command.sub(/^sudo/, 'sudo -p \'blender sudo password: \'') end |