I\'m calling command line programs connected by pipes. All this works on Linux for sure.
My method:
protected String execCommand(String command) thro
Still didn't found proper solution to execute piped commands with Runtime.exec, but found a workaround. I've simply wrote these scripts to separate bash files. Then Runtime.exec calls these bash scripts and gets expected result.