pure-python-adb
pure-python-adb copied to clipboard
exec-out function
I didn't find any way to do the equivalent of executing adb exec-out <command>. Any plans of including it? Would it be difficult to implement that? I think it could be very useful to support it.
reference code - adb client
https://cs.android.com/android/platform/superproject/+/master:system/core/adb/client/commandline.cpp;drc=master;l=1761
If command is about to run uiautomator dump, you can try:
print(device.shell("uiautomator dump /dev/tty"))