commit | 416095801531a1b13e48167a24577e8587bb63b4 | [log] [tgz] |
---|---|---|
author | Spencer Low <CompareAndSwap@gmail.com> | Mon Sep 21 14:15:15 2015 -0700 |
committer | Spencer Low <CompareAndSwap@gmail.com> | Tue Oct 13 19:51:30 2015 -0700 |
tree | 2f669ec436a93dd142be633b68094fb32e04445f | |
parent | 6d49cebd90e28240edeffa545d427432e363d726 [diff] |
adb unittest: fix Windows Unicode adb.shell() was recently changed to use subprocess.Popen(), which doesn't work properly with Unicode on Windows. The fix is to use the same work-around that I did for subprocess.check_output(): write UTF-8 to a batch file and run it. The change is primarily refactoring to enable code reuse. Change-Id: I88e9b9b35e5318533c0cd932d92e13bc9e734092 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>