View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#177
Originally Posted by noobmonkey View Post
Hey everyone, coding question....

Looking at calling some commands that need root on the device....
running this command on my phone via my python app works... but doesn't seem to work elsewhere....

Code:
sudo /sbin/reboot
Should i
a) not be calling commands like this.... (Would kinda scupper my plans!!)
b) be doing it a different way
c) something else... lol
It works here as well - it may depend on rootsh having been installed.
 

The Following User Says Thank You to Rob1n For This Useful Post: