* fix(ci): Android e2e flakes, shell `Terminated` sent before output
- close "isn't responding" system dialogs before each spec and hide error dialogs on the CI emulator:
a launcher ANR dialog takes input focus from the app, and Android then denies clipboard reads
- retry switching to the webview context until it succeeds instead of running the spec in the
native context when the first switch fails with "No such context found"
- save the focused window, a screenshot and logcat when an Android test fails
- shell: wait for the pipe readers to finish before emitting `Terminated`; the readers took their
read lock on their own thread, so a child exiting quickly could have `close` emitted before
its output
* Apply suggestion from @lucasfernog
* docs(shell): update example to include Encoding usage in `Command::spawn`
* docs(shell): update patch level to minor for Encoding usage in `Command::spawn` documentation
* Update .changes/doc-to-Encoding-usage-in-shell.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* docs(shell): update examples to demonstrate manual Encoding usage in command output
* Update plugins/shell/src/process/mod.rs
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* docs(shell): update example to use 'windows-1252' encoding in command output
* Update plugins/shell/src/process/mod.rs
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* docs(shell): update example command in documentation to use 'some-program' with 'some-arg'
* Bump shell-js in change file
* Fix indent