Rename GEMINI_CLI_NO_RELAUNCH to QWEN_CODE_NO_RELAUNCH

This commit is contained in:
Alexander Farber 2025-12-10 13:48:01 +01:00
parent 95d3e5b744
commit bf905dcc17
No known key found for this signature in database
5 changed files with 13 additions and 13 deletions

View file

@ -27,7 +27,7 @@ export async function relaunchAppInChildProcess(
additionalNodeArgs: string[],
additionalScriptArgs: string[],
) {
if (process.env['GEMINI_CLI_NO_RELAUNCH']) {
if (process.env['QWEN_CODE_NO_RELAUNCH']) {
return;
}
@ -44,7 +44,7 @@ export async function relaunchAppInChildProcess(
...additionalScriptArgs,
...scriptArgs,
];
const newEnv = { ...process.env, GEMINI_CLI_NO_RELAUNCH: 'true' };
const newEnv = { ...process.env, QWEN_CODE_NO_RELAUNCH: 'true' };
// The parent process should not be reading from stdin while the child is running.
process.stdin.pause();