[Konsole-devel] [Bug 308795] -e command with "|" is interpreted unlike xterms does it
Jekyll Wu
adaptee at gmail.com
Sat Oct 27 05:44:54 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=308795
--- Comment #2 from Jekyll Wu <adaptee at gmail.com> ---
The more underlying problem is konsole currently disagrees with xterm on what a
valid command is .
xterm supports this, while konsole simple does not:
$ xterm -hold -e "cd /tmp; ls -la"
Is "cd /tmp; ls -la" a valid command, from the point of view of a *terminal
emulator* ? "cd", ";" and "|" are all things only supported and understood by
shells. Terminal emulators are not shells, so the only sensible way to
"support" that kind of command is pass it to the system() call , effectively
calling ' sh -c "cd /tmp; ls -la" '.
I guess xterm uses system() as the last resort, but konsole currently simply
does not care about that kind of (invalid) "command".
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list