3 Python调用shell和Cmd 命令
3.1 启动adb logcat后关闭问题
启动
catcmd = "adb -s " + tvIP +":5555 logcat -v time > " + logpath print catcmd self.lcProcess = subprocess.Popen(catcmd, stdout=subprocess.PIPE, stderr=s
启动
catcmd = "adb -s " + tvIP +":5555 logcat -v time > " + logpath print catcmd self.lcProcess = subprocess.Popen(catcmd, stdout=subprocess.PIPE, stderr=s