Skip to content

fix: preserve quotes in session commands by using formatCommand#591

Open
Ilakiancs wants to merge 1 commit intoamantus-ai:mainfrom
Ilakiancs:fix/session-create-quote-stripping
Open

fix: preserve quotes in session commands by using formatCommand#591
Ilakiancs wants to merge 1 commit intoamantus-ai:mainfrom
Ilakiancs:fix/session-create-quote-stripping

Conversation

@Ilakiancs
Copy link
Copy Markdown

This fixes a bug where arguments with quotes (like 'echo -s "hello world"') were being stripped of quotes when falling back to shell execution, causing them to be split into multiple arguments.

This fixes a bug where arguments with quotes (like 'echo -s "hello world"') were being stripped of quotes when falling back to shell execution, causing them to be split into multiple arguments.
@nikolasdehor
Copy link
Copy Markdown

Opened an alternative minimal-scope fix PR: #603.\n\nIt keeps file layout intact and updates shell fallback paths to preserve argument boundaries via POSIX-safe quoting, with unit tests for spaces and single quotes.

@nikolasdehor
Copy link
Copy Markdown

Opened an alternative minimal-scope fix PR: #603.

It keeps file layout intact and updates ProcessUtils shell fallback paths to preserve argument boundaries via POSIX-safe quoting, with unit tests for spaces and single quotes.

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.

2 participants