su -c option
Closed this issue · 4 comments
jcalabres commented
I have an error related too "su invalid -c", as some emulators are not using a su binary with "-c" option, an adaptation is needed.
jcalabres commented
Solved, waiting for commit confirmation.
devsecboy commented
As per the original code, it will check for su, if the application doesn't have that then it will start running the command with normal adb command-line utility.
However, I added the su checks due to the following issues raised
"#1"
For this particular test case, your suggested changes fail.
devsecboy commented
jcalabres commented
Ok, you are correct. However, this implementation does not work on non-production builds. Tested by me the other day.