I am trying to close Android emulator using telnet command via Appium script but after executing the telnet command waiting for manual input for \"kill\" command. Unable to
This command line use for close the emulator automatically via appium script.
Runtime.getRuntime().exec("tskill emulator-arm");