execute a multi line shell comand in java code example
Example: execute a multi line shell comand in java
String[] cmd = {"/bin/sh","-c","test.sh parm1 parm2"}; Runtime.getRuntime().exec(cmd);
String[] cmd = {"/bin/sh","-c","test.sh parm1 parm2"}; Runtime.getRuntime().exec(cmd);