google / fplutil

fplutil is a set of small libraries and tools that can be useful when developing applications for Android and other platforms.
http://google.github.io/fplutil
Apache License 2.0
333 stars 49 forks source link

fix for ADB no longer mashing STDOUT and STDERR on shell calls #11

Open AdrianAtGoogle opened 7 years ago

AdrianAtGoogle commented 7 years ago

This fixes an issue where android-ndk-perf.py was assuming that 'adb shell ...' would combine STDOUT and STDERR. Code was pulling the last string of STDOUT to find the result of 'echo $? > &2', rather than STDERR