Skip to content

Commit 0f8a47e

Browse files
catlog22claude
andcommitted
fix: Add shell:true for Windows PATH resolution in ccw-litellm status check
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 303c840 commit 0f8a47e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ccw/src/core/routes/litellm-api-routes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ export async function handleLiteLLMApiRoutes(ctx: RouteContext): Promise<boolean
581581
try {
582582
const { stdout } = await execAsync(`${pythonExe} -c "${pythonCode}"`, {
583583
timeout: 5000,
584-
windowsHide: true
584+
windowsHide: true,
585+
shell: true, // Required for Windows PATH resolution
585586
});
586587
const version = stdout.trim();
587588
if (version) {

0 commit comments

Comments
 (0)