Su permission asked many times :(
i would like to present my situation first, i am making a kernel tweaker which passes various shell commands using Runtime.getRuntime().exec(...) , it does the work well, but the problem is that su permission is asked everytime  i run a shell command with su in it, i want the app to ask permission only once and then execute all the commands without asking for su again, currently my application has about 30 lines with su commands, so my app user has to allow su access 30 times in order to get everything working. please help me out :) 
Su permission asked many times :(
===

i would like to present my situation first, i am making a kernel tweaker which passes various shell commands using Runtime.getRuntime().exec(...) , it does the work well, but the problem is that su permission is asked everytime  i run a shell command with su in it, i want the app to ask permission only once and then execute all the commands without asking for su again, currently my application has about 30 lines with su commands, so my app user has to allow su access 30 times in order to get everything working. please help me out :) 