I\'m calling command line programs connected by pipes. All this works on Linux for sure.
My method:
protected String execCommand(String command) thro
Probably a little too late but for others looking for a solution, try this...
String[] cmd = { "/bin/sh", "-c", "cat /proc/cpuinfo | wc -l" }; Process process = Runtime.getRuntime().exec(cmd);
All the best..