Jun-30-2018, 11:39 AM
Hello, I'm in a middle of a project,in which I need to control a couple android devices, physical and emulated, and run some touches to them, all of them at the same time (or almost).
For do this, I'm using system calls to run windows cmd commands as:
Maybe there are faster ways of execute system calls.
In this thread I found that they run tests using fork(), execv(), waitpid(), and it was by far the fastest way.
How can I code it?
Does anyone have a faster way?
Thanks in advance
For do this, I'm using system calls to run windows cmd commands as:
command="adb -s {device1} shell input tap cordX cordY" subprocess.Popen("command") command="adb -s {device2} shell input tap cordX cordY" subprocess.Popen("command")To do this I started by using subprocess.Popen, and os.system but the fastest one so far is os.popen(command).
Maybe there are faster ways of execute system calls.
In this thread I found that they run tests using fork(), execv(), waitpid(), and it was by far the fastest way.
How can I code it?
Does anyone have a faster way?
Thanks in advance