[英]How can i make a .bat file which runs commands inside adb shell
我想創建一個.bat文件,在其中我可以使用以下命令:
adb shell
uiautomator runtest StandbyCase.jar -c sprd.powertest.Standby &
第二行在這里不起作用。 我努力了 :
adb shell uiautomator runtest StandbyCase.jar -c sprd.powertest.Standby &
但是在這種情況下&將無法正常工作。 它用於使進程在后台運行。 所以,我想跑步
adb shell
首先,然后
uiautomator runtest StandbyCase.jar -c sprd.powertest.Standby &
誰能建議我該怎么做?
嘗試使用;
adb shell "runtest StandbyCase.jar -c sprd.powertest.Standby &;uiautomator runtest StandbyCase.jar -c sprd.powertest.Standby &"
在正常的批處理文件中。
最多可使用20條線。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.