mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 07:20:28 +00:00
printf %q escapes spaces and shell metacharacters, turning "claude install" into "claude\ install" — which bash -c interprets as a single command named "claude install" (with literal space). This broke all multi-word commands passed to run_sprite, including pipes, redirects, and && chains. Since all callers pass trusted, hardcoded command strings (not user input), the command string should be passed directly to bash -c for normal shell parsing. Fixes #88 Agent: team-lead Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||