You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would first off like to thank you for making this library, I had been
searching for something like this for quite some time.
I do have a suggestion though...
It would be nice to be able to run standard commands through this framework as
well.
I changed the source around so the Executer.sendShell function asks for a
"useRoot" boolean parameter.
Then inside it where it declares the process, I put this:
process = Runtime.getRuntime().exec(useRoot ? "su" : "sh");
Cheers,
Corey
Original issue reported on code.google.com by CZua...@gmail.com on 27 Jun 2011 at 1:53
The text was updated successfully, but these errors were encountered:
Upload your amended code, or extra methods and I will be glad to add them in :)
I can easily add an overloaded method to accomplish what you would like to see.
Original comment by Stericso...@gmail.com on 28 Jul 2011 at 4:24
Original issue reported on code.google.com by
CZua...@gmail.com
on 27 Jun 2011 at 1:53The text was updated successfully, but these errors were encountered: