aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/riverctl.fish
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-07-16 00:00:28 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-07-21 14:07:49 +0200
commitb7e15a8ef6b223fa5195fa9b149dc83764677429 (patch)
tree63ee36279183c403dabcdb70e4d2c5c96c2ef16b /completions/fish/riverctl.fish
parentdfa24711415a48edb0fed64e3c3feaaf61130c8b (diff)
downloadriver-b7e15a8ef6b223fa5195fa9b149dc83764677429.tar.gz
river-b7e15a8ef6b223fa5195fa9b149dc83764677429.tar.xz
river: make spawn command take only one argument
Currently the spawn command takes any number of arguments and naively joins them together with spaces before passing them as the single argument of `/bin/sh -c`. This however produces unexpected results as soon as shell quoting gets involved in the arguments passed to spawn. For example, running riverctl spawn foo "bar baz" will execute `/bin/sh -c "foo bar baz"`, unexpectedly splitting bar and baz into separate arguments. To avoid this confusion, make the spawn command take only a single argument, forcing the user to quote properly to spawn multi-argument commands.
Diffstat (limited to 'completions/fish/riverctl.fish')
0 files changed, 0 insertions, 0 deletions