Bug 369297 - Konsole not follows documented behaviour for -e option in 16.08.x
Summary: Konsole not follows documented behaviour for -e option in 16.08.x
Status: RESOLVED DUPLICATE of bug 366793
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.08.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 21:18 UTC by brezerk
Modified: 2016-09-24 21:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***