Skip to content

feat(sandbox): -- separator support for run command#232

Merged
JannikSt merged 2 commits intomainfrom
feat/sandbox-run-separator
Dec 3, 2025
Merged

feat(sandbox): -- separator support for run command#232
JannikSt merged 2 commits intomainfrom
feat/sandbox-run-separator

Conversation

@JannikSt
Copy link
Copy Markdown
Member

@JannikSt JannikSt commented Dec 3, 2025

Closes #90


Note

Documents -- separator for sandbox run and uses shlex.join to preserve quoting when building the command string.

  • CLI - prime sandbox run:
    • Updated command argument help and docstring to document using -- to separate CLI options from command options, with example.
    • Switched command assembly from ' '.join(...) to shlex.join(...) to preserve quoting/spacing in arguments.

Written by Cursor Bugbot for commit bdc4f2e. This will update automatically on new commits. Configure here.

Arguments with spaces (like bash -c "echo hello") are now properly quoted
when passed to the sandbox.
@JannikSt JannikSt changed the title feat(sandbox): document -- separator support for run command feat(sandbox): -- separator support for run command Dec 3, 2025
Copy link
Copy Markdown
Contributor

@pokgak pokgak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JannikSt JannikSt merged commit f7226ed into main Dec 3, 2025
11 checks passed
@JannikSt JannikSt deleted the feat/sandbox-run-separator branch December 3, 2025 23:45
@JannikSt JannikSt mentioned this pull request Dec 4, 2025
4 tasks
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.

sandbox: support using separator "--" for run

2 participants