java - Correct Command Format inside Runtime.getRuntime.exec(" ") block -
i want execute command in java programme using below function.
process p = runtime.getruntime().exec(); my command om cmd prompt looks like
c:\program files\ibm\mqsi\9.0.0.0>mqsicacheadmin ib9node -c cleargrid -m mymapname please tell right format of writing above command within exec() block getting error when tried.
thanks in advance
java
No comments:
Post a Comment