I would like to pass multiple parameters to a processBuilder and the parameters to be separated by a space.
Here is the command,
String[] command_ary
Use it like this:
new java.lang.ProcessBuilder('netstat -an'.toString().split('\\s'))).start()