fix(cli): prevent Termux relaunch and resize remount loops (#27110)

Co-authored-by: Spencer <spencertang@google.com>
This commit is contained in:
Syed Ayman Quadri
2026-05-22 00:33:52 -06:00
committed by GitHub
parent 6afb109953
commit ba04e99bea
6 changed files with 26 additions and 58 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export async function relaunchOnExitCode(runner: () => Promise<number>) {
try {
const exitCode = await runner();
if (exitCode !== RELAUNCH_EXIT_CODE) {
if (process.platform === 'android' || exitCode !== RELAUNCH_EXIT_CODE) {
process.exit(exitCode);
}
} catch (error) {