Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

execute a multi line shell comand in java

String[] cmd = {"/bin/sh","-c","test.sh parm1 parm2"}; Runtime.getRuntime().exec(cmd); 
Source by www.programmersought.com #
 
PREVIOUS NEXT
Tagged: #execute #multi #line #shell #comand #java
ADD COMMENT
Topic
Name
8+9 =