[konsole] [Bug 377412] konsole with -e option doesn't keep the window open anymore

Michael bugzilla_noreply at kde.org
Fri Nov 6 00:46:06 GMT 2020


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

--- Comment #12 from Michael <kde at callthecomputerdoctor.com> ---
Okay, so you're saying I need to enquote the argument string when I launch
Konsole. Yes, you're right I should always be enquoting logic as parameters.
Fair enough.

Now when I do this, I can confirm that it behaves as it used to:

konsole -e sh -c 'echo foo && sleep 3 && echo "bar" && sleep 3 && echo
"closing"'

...the difference being that it's now necessary to use this idiom:

   -e sh -c 'fully enquoted string'
      ^^^^^

But why should I have to add a "sh -c" prefix to my command string? 

Testing some more, it doesn't work at all when I do this:

konsole -e 'echo foo && sleep 3 && echo "bar" && sleep 3 && echo "closing"'

According to the Konsole --help documentation, -e is the command to execute.
Konsole should be executing my enquoted command as it had done in the past, yet
nothing is executed. With this, Konsole appears for an instant just to
disappear. The print statements aren't even executed in the originating shell.

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


More information about the konsole-devel mailing list