class Wocker::Cli::KeyboardCommand::WriteCommand

Public Instance Methods

execute() click to toggle source
# File lib/wocker/cli/keyboard/write_command.rb, line 9
def execute
  first_vm_name = Wocker::Virtualbox.first_running_vm_name

  `VBoxManage controlvm #{first_vm_name} keyboardputstring #{string}`
end