mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -581,7 +581,8 @@ export async function handleLiteLLMApiRoutes(ctx: RouteContext): Promise<boolean
|
|||||||
try {
|
try {
|
||||||
const { stdout } = await execAsync(`${pythonExe} -c "${pythonCode}"`, {
|
const { stdout } = await execAsync(`${pythonExe} -c "${pythonCode}"`, {
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
windowsHide: true
|
windowsHide: true,
|
||||||
|
shell: true, // Required for Windows PATH resolution
|
||||||
});
|
});
|
||||||
const version = stdout.trim();
|
const version = stdout.trim();
|
||||||
if (version) {
|
if (version) {
|
||||||
|
|||||||
Reference in New Issue
Block a user