From c8dc068b1db0a230d1c6a646c0e69c30b0b6c98f Mon Sep 17 00:00:00 2001 From: SIDLAD Date: Sun, 8 Nov 2026 10:40:39 +0530 Subject: [PATCH] fix: use call operator for PowerShell terminal activation The Python Environments extension quotes the activation executable and runs it with Invoke-Expression. PowerShell parses a leading quoted path as a string expression, so activation failed with "Unexpected token 'shell'" whenever the pixi path contained a space. Provide a pwsh-specific shellActivation that prefixes the call operator '&', the same approach the built-in venv and conda managers use. Other shells keep using activation. Co-Authored-By: Claude Opus 5.5 --- src/pixi/utils.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pixi/utils.ts b/src/pixi/utils.ts index f49d12e..5e81ddd 100644 --- a/src/pixi/utils.ts +++ b/src/pixi/utils.ts @@ -124,6 +124,7 @@ export async function refreshPixi(projectPath: string): Promise