I'm trying to execute a shell command in an android app (Java) and read the output. I can read the output of most commands but I am unable to get anything when I use a pipe in the command. The device is rooted.I'm trying to execute a shell command in an and