simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Jul 11 19:12:17 BST 2012
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9575
Date: 2012-07-11 19:12:17 +0100 (Wed, 11 Jul 2012)
Log message (11 lines):
If pterm's execvp fails when given the whole argument list after -e,
try again by passing the single string after -e to "$SHELL -c". This
matches xterm's behaviour (as of xterm 261), and means in practice
that users can do _either_ of 'pterm -e some command' and 'pterm -e
"some command"'.
(A quick survey suggest that the majority of X terminal programs agree
with pterm's old behaviour of only supporting '-e some command',
except that gnome-terminal only supports the other behaviour and xterm
supports both. With that disagreement, I think supporting both is
probably the sensible thing.)
Modified files:
U putty/unix/uxpty.c
Links:
http://svn.tartarus.org/sgt/?rev=9575&view=rev
http://svn.tartarus.org/sgt/putty/unix/uxpty.c?rev=9575&r1=9574&r2=9575
More information about the tartarus-commits
mailing list