aboutsummaryrefslogtreecommitdiffstats
path: root/go.sum
diff options
context:
space:
mode:
authorJason Cox <me@jasoncarloscox.com>2024-02-15 15:35:25 -0500
committerRobin Jarry <robin@jarry.cc>2024-02-19 20:37:37 +0100
commit673ae1bbc760ad96664e84d54d373839d9ae2c57 (patch)
tree7438bdebf466c61724b54196ca0adbef157b94c4 /go.sum
parent5781f1e6b49025e2909c4b87912d6c9dd7256286 (diff)
downloadaerc-673ae1bbc760ad96664e84d54d373839d9ae2c57.tar.gz
ipc: accept verbatim commands
When aerc receives a command over IPC, it quotes the arguments before passing them on to the internal command parser. In many cases, the parser interprets the quotes, and the command runs with the arguments exactly as they were specified in the shell. In some cases, though, the quotes are not interpreted and the additional quotes can cause the command to fail. Simply eliminating the addition of quotes is not possible because some commands need them. Allow a command and its arguments to be specified as a single argument in the shell. In that case, pass that argument verbatim to the internal command parser so that it is interpreted exactly as if it had been typed directly in aerc's command line. Link: https://lists.sr.ht/~rjarry/aerc-devel/%3C20240203085541.27416-2-contact%40willowbarraco.fr%3E Changelog-added: Execute IPC commands verbatim by providing the command and its args as a single argument in the shell. Cc: Willow Barraco <contact@willowbarraco.fr> Signed-off-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions