I want to execute a command in my java program using below function.
Process p = Runtime.getRuntime().exec();
My command om cmd prompt looks something like
C:\Program Files\IBM\MQSI\9.0.0.0>mqsicacheadmin IB9NODE -c clearGrid -m myMapName
Please do tell correct format of writing above command inside exec() block am getting some error when tried.
Thanks in advance