[konsole] [Bug 366793] Regression in Konsole's handling of command line parameters

Wolfgang Bauer via KDE Bugzilla bugzilla_noreply at kde.org
Tue Aug 16 20:28:21 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=366793

--- Comment #3 from Wolfgang Bauer <wbauer at tmo.at> ---
(In reply to Raymond Wooninck from comment #2)
> It seems as parsing the command line is the issue and that everything is
> seen as an option to konsole.

Yes, obviously.
But -e should "capture" all following options, and it does in previous konsole
versions (which used kdelibs4support, i.e. KCmdLineArgs, for parsing the
command line).

>  Using konsole -e "sh -C "echo test"", then it
> works fine.

No, it doesn't.
This displays the following error message in the new konsole window:
/usr/bin/test: /usr/bin/test: cannot execute binary file

konsole -e "sh -c \"echo test\"" would work though.

Btw:
(In reply to Wolfgang Bauer from comment #0)
> (of course it would close immediately again, adding the "--keep" parameter
> should fix that)
I wanted to write "--hold" of course, not "keep".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list