Skip binary CLI relaunch (#26261)

This commit is contained in:
ruomeng
2026-04-30 13:48:23 -04:00
committed by GitHub
parent 9a98b0e56c
commit 0f1077076e
4 changed files with 71 additions and 2 deletions
+5 -1
View File
@@ -125,7 +125,11 @@ export function getNodeMemoryArgs(isDebugMode: boolean): string[] {
);
}
if (process.env['GEMINI_CLI_NO_RELAUNCH']) {
if (
process.env['IS_BINARY'] === 'true' ||
process.env['GEMINI_CLI_NO_RELAUNCH'] ||
process.env['SANDBOX']
) {
return [];
}