Bug#457846: gnome-terminal.wrapper: problem with a particular command
ben at decadent.org.uk
Fri Jul 18 00:38:16 UTC 2008
xterm supports both:
1. xterm -e command with separate arguments
2. xterm -e 'command line'
It appears to do this by first trying:
a. execvp(argv, argv)
then if there is a single argument:
b. execl(shell, basename(shell), '-c', argv, NULL)
c. execl(shell, basename(shell), NULL)
But I think (c) isn't really important.
gnome-terminal -e behaves like (b) and gnome-terminal -x behaves like
(a). I think that the wrapper should translate -e to -e only where
there is exactly one argument following and 'which' cannot find a
command by that name; otherwise it should translate it to -x.
Nothing is ever a complete failure; it can always serve as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080718/cc3c297d/attachment.pgp
More information about the pkg-gnome-maintainers