DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+9 =
Submit