diff options
author | Robin Jarry <robin@jarry.cc> | 2023-09-24 21:42:59 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-28 19:25:05 +0200 |
commit | 08ef572e08665ec3a06ea6ac315f3dd6d0eac5d1 (patch) | |
tree | 813338e1a727b0361cb00ccc517bc31a372a98cb /commands/completion_helpers_test.go | |
parent | 1db74a9ba74350776dee5f2384744357ad3aace5 (diff) | |
download | aerc-08ef572e08665ec3a06ea6ac315f3dd6d0eac5d1.tar.gz |
pipe: run commands with sh -c
Change the Cmd argument to a plain string that preserves shell quoting.
Use this for sh -c instead of a list of arguments.
Changelog-changed: `:pipe` commands are now executed with `sh -c`.
Requested-by: Vitaly Ovchinnikov <v@postbox.nz>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'commands/completion_helpers_test.go')
0 files changed, 0 insertions, 0 deletions