공개 런타임 프로브 복구 수정

This commit is contained in:
Yun Chan 2026-08-12 11:47:45 +09:00
parent 527027b93d
commit a73bcd248f
3 changed files with 92 additions and 4 deletions

View file

@ -139,8 +139,15 @@ function Test-VoiceSidecarReady {
"--tts-language", $MeloTtsLanguage,
"--timeout-seconds", "5"
)
& $Python @probeArgs 1>$null 2>$null
return $LASTEXITCODE -eq 0
$previousErrorActionPreference = $ErrorActionPreference
try {
$ErrorActionPreference = "Continue"
& $Python @probeArgs 1>$null 2>$null
$probeExit = $LASTEXITCODE
} finally {
$ErrorActionPreference = $previousErrorActionPreference
}
return $probeExit -eq 0
}
function Wait-VoiceSidecarReady {