在Android gts-tradefed
或xts-tradefed
中,perl或Python脚本中的“shards”选项不适用于2台或更多设备。在
import subprocess
p = subprocess.Popen('./gts-tradefed run gts --shards 2', stdout=subprocess.PIPE,stderr=subprocess.PIPE,stdin=subprocess.PIPE)
out, err = p.communicate()
print out
如果命令"run gts --shards 2"
在^{
请建议如何调用"./gts-tradefed run gts --shards 2"
并从Python或perl脚本执行它。在
我不确定试一下
相关问题 更多 >
编程相关推荐