execute a multi line shell comand in java

Solutions on MaxInterview for execute a multi line shell comand in java by the best coders in the world

showing results for - "execute a multi line shell comand in java"
Magdalena
29 Jan 2021
1String[] cmd = {"/bin/sh","-c","test.sh parm1 parm2"}; Runtime.getRuntime().exec(cmd); 
similar questions
queries leading to this page
execute a multi line shell comand in java