Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[run] escape quotes in arguments (jetify-com#1144)
## Summary Implementing a narrow fix for jetify-com#1137 We wrap each command arg in double-quotes and escape any double-quotes within. Fixes jetify-com#1137 ## How was it tested? Added testscript unit test from issue: ``` > devbox run -- jq -r '.shell.scripts | keys | join(" ")' devbox.json build build-linux build-linux-amd64 code lint test ``` Also, this now matches: ``` > echo 'hello "world"' hello "world" > devbox run -- echo 'hello "world"' hello "world" ``` previously: ``` > devbox run -- echo 'hello "world"' hello world ```
- Loading branch information