From 8feeffb29b831b4bfcf0be230678d85418c39ee0 Mon Sep 17 00:00:00 2001 From: Ying-xi <62348590+Ying-xi@users.noreply.github.com> Date: Sat, 20 Dec 2025 11:22:01 +0800 Subject: [PATCH] fix: prevent infinite relaunch loop when --resume fails (#14941) (#14951) Co-authored-by: Jack Wotherspoon --- packages/cli/src/utils/processUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/utils/processUtils.ts b/packages/cli/src/utils/processUtils.ts index 7d3f1bcbf9..1122a2b0dc 100644 --- a/packages/cli/src/utils/processUtils.ts +++ b/packages/cli/src/utils/processUtils.ts @@ -9,7 +9,7 @@ import { runExitCleanup } from './cleanup.js'; /** * Exit code used to signal that the CLI should be relaunched. */ -export const RELAUNCH_EXIT_CODE = 42; +export const RELAUNCH_EXIT_CODE = 199; /** * Exits the process with a special code to signal that the parent process should relaunch it.