mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
Rename GEMINI_CLI_NO_RELAUNCH to QWEN_CODE_NO_RELAUNCH
This commit is contained in:
parent
95d3e5b744
commit
bf905dcc17
5 changed files with 13 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue