-e (execute) option mishandles spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
konsole (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The -e option of Konsole has a very strange behavior if one of the first argument has a space in it. Actually, everything after the space is simply ignored:
$ konsole -e "/bin/sh somescript"
executes "/bin/sh"
$ konsole -e "/bin/some program with spaces"
tries to execute "/bin/some"
$ konsole -e "/bin/some\ program\ with\ spaces"
tries to execute "/bin/some program with spaces"
This behavior doesn't follow XTerm (and other) behavior and seems simply wrong. I would've expected either
1) execute as a shell-formed command, so splitting at spaces and passing extra arguments to the command, or
2) execute the argument, e.g. with the spaces
This makes it hard to use konsole as a random terminal emulator from a script or application, e.g. when mapped to x-terminal-
Ubuntu version: 11.10
Konsole version: 4:4.7.1-0ubuntu2
description: | updated |
Hi there!
Thanks for reporting this bug! Your bug seems to be a problem with the /bugs.kde. org, so that the KDE developers can deal with this
KDE program itself, and not with our KDE packages. While we appreciate
your issue, it would be better if it was tracked at
https:/
speedily and have direct communication with you as the reporter for more
effective debugging.
Thanks!