I am trying to execute adb shell command from java by the help of Process
String command = "adb shell dumpsys battery | findstr status";
Process ps = Runtime.getRuntime().exec(command);
It return /system/bin/sh: findstr: not found
If I run the same command from command prompt and python script it display the expected result.