I am executing a shell script from Java program. I have implemented it using Runtime class. Below is the code I implemented
final StringBuilder sb = new Stri
Your approach is correct you just need to add a space (" ") before parameters and escape the "/" and " " characters in the parameters
space (" ")
"/" and " "