We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to execute ls in shell(), then it executes, but when I try to execute ls /bin it executes only ls without /bin argument.
ls
shell()
ls /bin
/bin
From python3 adb_shell
adb_shell
device1.shell('ls')
output:
Reserve0 default.prop init.usb.rc sdcard acct dev init.zygote32.rc storage bin etc lost+found sys bugreports file_contexts.bin mnt system cache init odm tmp-mksh charger init.environ.rc oem ueventd.rc config init.rc proc vendor d init.recovery.sun50iw6p1.rc product verity_key data init.usb.configfs.rc sbin
with /bin:
device1.shell('ls /bin')
NOTE: But if use generic adb from android-platform-tools then ls /bin executes as ls /bin, but not as ls
P.S.: If you try to execute touch somefile, shell() will execute only touch and then the error appears:
touch somefile
touch
touch: Needs 1 argument (see "touch --help")
The text was updated successfully, but these errors were encountered:
That's odd, I don't have that issue. Could you please attach a debug log, as described in the issue template: https://github.com/JeffLIrion/adb_shell/blob/master/.github/ISSUE_TEMPLATE/bug_report.md
Sorry, something went wrong.
@JeffLIrion Sorry, it's problem in my code
No branches or pull requests
Description
I tried to execute
ls
inshell()
, then it executes, but when I try to executels /bin
it executes onlyls
without/bin
argument.Log
From python3
adb_shell
output:
with
/bin
:output:
NOTE: But if use generic adb from android-platform-tools then
ls /bin
executes asls /bin
, but not asls
P.S.: If you try to execute
touch somefile
,shell()
will execute onlytouch
and then the error appears:The text was updated successfully, but these errors were encountered: