Skip to content

Comments

Properly escape PowerShell arguments with spaces in claude-python wrapper#38

Merged
alex-feel merged 1 commit intomainfrom
alex-feel-dev
Aug 16, 2025
Merged

Properly escape PowerShell arguments with spaces in claude-python wrapper#38
alex-feel merged 1 commit intomainfrom
alex-feel-dev

Conversation

@alex-feel
Copy link
Owner

No description provided.

…n wrapper

The PowerShell wrapper was failing to handle arguments containing spaces correctly.
This fix adds proper argument escaping by wrapping space-containing arguments in single quotes for bash.
Also uses PowerShell here-strings to simplify quote handling and fixes the --% usage for the no-arguments case.

Now the claude-python command works correctly in PowerShell with complex arguments like -p 'multi word prompt'.
@alex-feel alex-feel enabled auto-merge August 16, 2025 10:42
@alex-feel alex-feel merged commit 1f979c0 into main Aug 16, 2025
5 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch August 16, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant