[docs] KeepHerSafeApps: Round trip on the tablet, the page between Android's bars, review, gaps closed, lessons
This commit is contained in:
@@ -59,3 +59,14 @@ On Windows the interpreter also chooses line endings.
|
||||
|
||||
**How to apply it.** Edit source files with the edit tool. When a script is needed, write
|
||||
it to a file first (the scratchpad), then run the file.
|
||||
|
||||
## Git Bash rewrites Android paths
|
||||
|
||||
**What happened.** On 2026-11-17 `adb shell ls -l /sdcard/Download/…` typed in Git Bash answered
|
||||
`ls: C:/Program: No such file or directory`: MSYS turned `/sdcard/…` into
|
||||
`C:/Program Files/Git/sdcard/…` before adb saw it.
|
||||
|
||||
**Why it bit.** The rewrite is silent and the error looks like the device's.
|
||||
|
||||
**How to apply it.** Prefix hand-typed adb commands with `MSYS_NO_PATHCONV=1`, or pass arguments from
|
||||
Node (`spawnSync`), which the shell does not touch.
|
||||
|
||||
Reference in New Issue
Block a user