Tencent / GAutomator

Automation for mobile games
1.34k stars 384 forks source link

excute_adb_process()卡死 #77

Closed terieqin closed 4 years ago

terieqin commented 4 years ago

有时候,自动化脚本到某个固定的时间,就会在这个函数里面卡死。我严重怀疑是因为subprocess.Popen()的输出用p.stdout.readlines()读取的方式导致的死锁。这个问题在官网上也有提到,需要用p.communicate()代替。看看是不是这样的问题?