cmds: properly support xfce4-terminal and gnome-terminal
commit343dd36a6ab2eb8d838a9c1ba124180a8244818e
authorDavid Aguilar <davvid@gmail.com>
Tue, 24 Nov 2015 05:12:01 +0000 (23 21:12 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 24 Nov 2015 05:29:23 +0000 (23 21:29 -0800)
tree2693b2be2906b42e8516ea3540fddd9a8e0e399b
parent7f44c75c435ba01119545f074ff7394eb9f1bd63
cmds: properly support xfce4-terminal and gnome-terminal

Some terminal require that their `-e` argument is passed as a single
string, rather than what xterm et al. do where the -e indicates the the
rest of the command line is the command to execute.

Quote the argument to `-e` when the terminal needs it.

Closes #524
Helped-by: @anderben via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/cmds.py
cola/gitcfg.py
share/doc/git-cola/relnotes/unreleased.rst