i use bash script automate processes on android devices in office. call shell in script: (let ...
stand amount of adb shell commands.)
#!/bin/bash ... adb shell stuff adb shell stuff adb shell stuff ... exit
these scripts function well. have done research on sending multiple commands single instance of shell; i'm wondering if efficient can though. using lot of system resources? potentially raise issues in future when i'll running very large automation scripts using process?
starting of new sh
process not take lot of time or resources. queuing multiple commands same sh
instance not provide noticeable performance improvement. mindful of commands run in shell
sessions. commands input
not native binaries java
applications take longer time start - not expect able fire multiples of per second.
Comments
Post a Comment