diff options
| author | David Pursell <dpursell@google.com> | 2015-09-22 10:43:08 -0700 |
|---|---|---|
| committer | David Pursell <dpursell@google.com> | 2015-09-22 12:50:11 -0700 |
| commit | 4e2fd36bc8c16147cab323b0418a7666812d3bc7 (patch) | |
| tree | e3d5ed4e8aef55f264df808c9835d85472739f92 /base/errors_unix.cpp | |
| parent | 00ea49fc98870470b33041e0b3c3f83c91ff1007 (diff) | |
adb: add -Tt options to `adb shell`.
Adds -T (no PTY) and -t (force PTY) options to `adb shell` to mimic
ssh options. Small cleanup to send an entire FeatureSet to the adb
client at once to avoid multiple round-trips when querying multiple
features.
Known issue: humans using `adb shell -T` to start a non-PTY interactive
session may experience problems since neither side will have PTY
features like echoing or newline translation. This is probably OK for
now as the -Tt options are primarily useful for scripting.
Bug: http://b/23825231
Change-Id: I4d0df300db0abd1f7410bab59dd4d5b991babda7
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
