cmds: allow the launcher to be a shell string
commitd69af1464ab89086770892f2aa573f0a83c84ec5
authorDavid Aguilar <davvid@gmail.com>
Fri, 15 Jul 2022 08:27:44 +0000 (15 01:27 -0700)
committerDavid Aguilar <davvid@gmail.com>
Fri, 15 Jul 2022 08:31:31 +0000 (15 01:31 -0700)
treef4c922c5a02dbf3a97a36322a2883ba98444e797
parent7087eb0e7a745468dbfd7ffb84a47ea847f738f1
cmds: allow the launcher to be a shell string

Right now the launcher can only be a single command name.
Allow the launcher to be specified as a shell string so that
we could possibly use other commands in the future that might
be invocations with more than one argument.

This would allow "gio open", but we're not going to change
our use of "xdg-open". "xdg-open" is the standard.

Related-to: #1245
Related-to: https://www.reddit.com/r/archlinux/comments/8mniks/comment/dzp1yd5
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/cmds.py