My Method:
public static void executeCommand(String command)
{
try {
Process p = new ProcessBuilder("gnome-terminal", "-e", command).start();
} catch (IOException e) {
e.printStackTrace();
}
}
How do I start the Terminal with sudo permission?