Swind / pure-python-adb

This is pure-python implementation of the ADB client.
MIT License
553 stars 104 forks source link

Start shell command a la subprocess.Popen #98

Open nickeldan opened 2 years ago

nickeldan commented 2 years ago

Is there a way to run a shell command on the phone in a manner akin to subprocess.Popen? Specifically, I'd like to start a command, get its PID, do some other stuff, come back later to wait for the command to finish, and get its return code?