pure-python-adb icon indicating copy to clipboard operation
pure-python-adb copied to clipboard

exec-out function

Open igonro opened this issue 5 years ago • 2 comments

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.

igonro avatar Sep 07 '20 00:09 igonro

reference code - adb client

https://cs.android.com/android/platform/superproject/+/master:system/core/adb/client/commandline.cpp;drc=master;l=1761

Swind avatar Sep 11 '20 02:09 Swind

If command is about to run uiautomator dump, you can try:

print(device.shell("uiautomator dump /dev/tty"))

MuallimCh avatar Oct 26 '21 11:10 MuallimCh