Files
Android11/external/adeb/addons/run-command
2023-10-13 14:01:41 +00:00

11 lines
229 B
Bash
Executable File

#!/system/bin/sh
spath=$( cd "$(dirname "$0")" ; pwd -P )
cd $spath
source run.common
# Directly execute a command within the chroot of an Android device
CMD="$*"
chroot debian /bin/bash --rcfile '.bashrc.silent' -i -c "$CMD"