I have a java application in which i need to run the commands as we do on the terminal using the java code.How can i achieve this please suggest.
I Used this code when doing it on windows :-
Process p = Runtime.getRuntime().exec(command);
I have a java application in which i need to run the commands as we do on the terminal using the java code.How can i achieve this please suggest.
I Used this code when doing it on windows :-
Process p = Runtime.getRuntime().exec(command);