commit | d4093f191b3f23de30479c93be8c684b47505e44 | [log] [tgz] |
---|---|---|
author | David Pursell <dpursell@google.com> | Mon Aug 10 12:52:16 2015 -0700 |
committer | David Pursell <dpursell@google.com> | Wed Aug 12 14:16:22 2015 -0700 |
tree | af5f1a2181bcbc4ae2f6f23134d90540a88bbcbc | |
parent | 317acfb88065f68bc3030a5624a63ba4cfaab414 [diff] |
adb: Fix PTY logic for non-interactive shells. Change `adb shell` so that interactive sessions use a PTY but non-interactive do not. This matches `ssh` functionality better and also enables future work to split stdout/stderr for non-interactive sessions. A test to verify this behavior is added to test_device.py with supporting modifications in device.py. Bug: http://b/21215503 Change-Id: Ib4ba40df85f82ddef4e0dd557952271c859d1c7b