WAI
Status Update
Comments
en...@google.com <en...@google.com> #2
this does what you want:
adb shell ls '"hello world"'
why two sets of quotes? because there are two shells. your local one, and the remote one. if you want the remote shell to pass a single argument to ls, you need to pay the local shell a pair of quotes so that it passes a single argument to the remote shell, and then another pair of quotes to the remote shell.
if you find this confusing, just "adb shell" lets you talk directly to the remote shell.
adb shell ls '"hello world"'
why two sets of quotes? because there are two shells. your local one, and the remote one. if you want the remote shell to pass a single argument to ls, you need to pay the local shell a pair of quotes so that it passes a single argument to the remote shell, and then another pair of quotes to the remote shell.
if you find this confusing, just "adb shell" lets you talk directly to the remote shell.
Description
adb shell input text '