public static List<String> run(List<String> commands){
  return Shell.run("su",commands.toArray(new String[commands.size()]),null,false);
}

public static List < String > run ( List < String > commands ) { return Shell . run ( "su" , commands . toArray ( new String [ commands . size ( ) ] ) , null , false ) ; }
runs commands as root ( if available ) and return output
