Summary: | Make konsole support -e "ls -lsa | grep libavcodec", like xterm does | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | bbutscheidt |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | cpigat242, juancarlospaco |
Priority: | NOR | ||
Version: | 2.9.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
bbutscheidt
2012-10-22 09:08:32 UTC
Yes you're correct - konsole pulls the first arg as the program and the rest as args 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". *** Bug 319095 has been marked as a duplicate of this bug. *** |