diff options
author | Robin Jarry <robin@jarry.cc> | 2023-09-24 21:10:19 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-28 19:25:02 +0200 |
commit | 1db74a9ba74350776dee5f2384744357ad3aace5 (patch) | |
tree | 923e7ef487ee71876620d4f8370b06a543f5fb79 /commands/msgview/open-link.go | |
parent | 8464b373851142b0becaaa10db34df3559b2b62e (diff) | |
download | aerc-1db74a9ba74350776dee5f2384744357ad3aace5.tar.gz |
open: run commands with sh -c
Allow running shell commands in openers.
Changelog-changed: `:open` 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/msgview/open-link.go')
-rw-r--r-- | commands/msgview/open-link.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msgview/open-link.go b/commands/msgview/open-link.go index ad2a7cc2..55aee08c 100644 --- a/commands/msgview/open-link.go +++ b/commands/msgview/open-link.go @@ -12,7 +12,7 @@ import ( type OpenLink struct { Url *url.URL `opt:"url" action:"ParseUrl"` - Cmd []string `opt:"..." required:"false"` + Cmd string `opt:"..." required:"false"` } func init() { |