Bug 369297

Summary: Konsole not follows documented behaviour for -e option in 16.08.x
Product: [Applications] konsole Reporter: brezerk <brezerk>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: brezerk, wbauer1
Priority: NOR    
Version: 16.08.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description brezerk 2016-09-24 21:18:49 UTC
From konsole help:

  -e <cmd>                   Command to execute. This option will catch all following arguments, so use it as the last option.

So it says: This option will catch all following arguments however, it actually does not follow expected behaviour now (it was working as expected before 16.08.1):

[ himera ] brezerk@pts/0:9  ~ $
> 09/24/16 23:59:06 EEST > konsole -v                      
konsole 16.08.1
[ himera ] brezerk@pts/0:10  ~ $
> 09/24/16 23:59:54 EEST > konsole -e /bin/sh -c 'echo lol'
Unknown option 'c'.
[ himera ] brezerk@pts/0:11 :( 1 ~ $
> 09/24/16 23:59:56 EEST > /bin/sh -c 'echo lol'           
lol
[ himera ] brezerk@pts/0:12  ~ $
Comment 1 Wolfgang Bauer 2016-09-24 21:33:33 UTC
Known problem, caused by the switch to Qt's QCommandLineParser that doesn't support such "rest of the line" arguments.

*** This bug has been marked as a duplicate of bug 366793 ***