old question, new variation.
we all know the following piece does work well:
String cmd = "ls";
Process proc = Runtime.getRuntime().exec(cmd);
here, the external command is simple enough.
now, i wanna play with pipe. for example, i wanna execute
"ls -l | grep -i abc" with...