I am working on an application an have an issue about running shell command from java application. here is the code:
public String execRuntime(String cmd) {
first make a string String cmd="/export/home/test/myapp -T \"some argument\""; then run cmd in proc