用subprocess执行adb shell命令怎么终止
摘要:
问题: 在程序中使用 adb shell top 命令获取 数据时,程序一直运行无法停止 原命令: subprocess.run(f'adb shell COLUMNS=200 top -d 2 | grep "com.xxx.xxx" > 123.txt', shell=True) 解决思路: l 阅读全文
posted @ 2021-12-02 21:41 阿虾 阅读(632) 评论(0) 推荐(0)
浙公网安备 33010602011771号