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 /CHANGELOG.md | |
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 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4551909e..8426331e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - `:save -a` now works with multiple attachments with the same filename - `:open` uses the attachment extension for temporary files, if possible - memory leak when using notmuch with threading +- `:pipe <cmd>` now executes `sh -c "<cmd>"` as indicated in the man page. ### Changed |