Why can I not pipe into adb shell
?
[klm@kth ~]$ echo foo | adb shell cat
^C
The above command hangs on my 4.0.1 emulator, and I'm not seeing the expected foo
output.
I presume it's because adb shell
doesn't pipe its stdin into its child-process' stdout, and cat
sits and waits forever. Has this really not been implemented in adb
, or am I missing something?