When I run this
I get the correct output - same as what get displayed in a command prompt.Code:
Process p = Runtime.getRuntime().exec("java");
But when I do the same for
I am not getting any response back.Code:
Process p = Runtime.getRuntime().exec("keytool");
Is this the correct way of calling a keytool command from a java program?
Any inputs on this would be greatly appreciated.