Lines Matching full:shell
69 run_adb_sync_command(["adb", "shell", "mkdir", "-p", remote_dir])
102 # - Replacing older shell utilities with toybox (e.g. on old devices).
112 # If we're running as root, switch to the shell user. The libc++
116 # run as the shell user.
119 # which might be owned by root. Before switching to shell, make the
125 # - Starting in Android M, su from root->shell resets PATH, so we need
136 " su shell \"$(command -v env)\" PATH=\"$PATH\" \"$@\";"
138 " su shell \"$@\";"
151 # Prior to the adb feature "shell_v2" (added in Android N), `adb shell`
155 # - The exit code of the shell command wasn't propagated.
177 adb_command_line = ["adb", "shell", adb_shell_command]
182 proc = subprocess.run(adb_command_line, shell=False, check=False,
186 proc = subprocess.run(adb_command_line, shell=False, check=False,
189 # The old `adb shell` mode used a pty, which converted LF to CRLF.