Artifact 31b294db2f4ddb4e55ce8cfc936c9c4916dfd7e3:
- File unix/uxpty.c — part of check-in [6530f824ce] at 2012-07-11 13:12:17 on branch trunk — If pterm's execvp fails when given the whole argument list after -e, and the argument list contains only one string, try again by passing that single string to "$SHELL -c" to be parsed as a shell command. This matches xterm's behaviour (as of xterm 261, at least), and means in practice that users can do _either_ of 'pterm -e some command' and 'pterm -e "some command"'. (A quick survey suggests 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.) (user: simon size: 29288)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.