7 def run_command(command):
8 stream = os.popen(command)
12 run_command("sdb root on")
13 # To run bootstrap as command
14 run_command("sdb shell tpk-backend -y org.tizen.aurum-bootstrap --preload")
15 # TV need to enable touch
16 run_command("sdb shell vconftool set -f -t bool memory/window_system/input/force_enable_touch 1")
17 # Dut to input generator issue, temporarily do below command
18 run_command("sdb shell winfo -init_device --type=touch")
19 run_command("sdb forward tcp:50051 tcp:50051")
20 run_command("sdb shell app_launcher -s org.tizen.aurum-bootstrap")
21 # Wait 1 sec till bootstrap launched