def run_adb_command(command, device = nil)
      full_command = construct_adb_command command, device
      
      puts full_command
      pio = IO.popen(full_command, 'w')
      Process.wait(pio.pid)
    end
def run_adb_command(command, device = nil)
      full_command = construct_adb_command command, device
      
      puts full_command
      pio = IO.popen(full_command, 'w')
      Process.wait(pio.pid)
    end
Run an adb commd on specified device, optionally printing the output