Bug 311543

Summary: Double quotes and backslashes removed from profile command arguments.
Product: [Applications] konsole Reporter: Mike <michaelobe>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: julien.lebreton1985, michaelobe
Priority: NOR Keywords: reproducible
Version: 2.8.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mike 2012-12-11 20:07:56 UTC
I have the following command in a profile's command field:
isql-fb -u sysdba -p example "192.168.2.8:d:\qc\Database\QUANTUM.FDB"
It works after I first create it but by the time I close and reopen konsole the profile no longer works.
Looking at the command it switched to:
isql-fb -u sysdba -p example 192.168.2.8:d:qcDatabaseQUANTUM.FDB

which of course does not work.

My workaround was to create a script that has the full command and my konsole profile loads that script instead.

I looked around a little trying to see if this was a bug previously reported but I am not yet a skilled bugfinder. : )

Thanks,
Mike

Reproducible: Always
Comment 1 Jekyll Wu 2012-12-13 13:02:49 UTC
Thanks for reporting .


I did some initial investigation. It should be related with ShellCommand class and  KShell::splitArgs().
Comment 2 Kurt Hindenburg 2017-02-13 19:03:42 UTC
*** Bug 346312 has been marked as a duplicate of this bug. ***
Comment 3 Kurt Hindenburg 2017-02-13 19:04:16 UTC
I have some bookmarks for ssh connexion with a pipe for saving my output like this one : 
ssh admin@192.168.1.1 | tee -a /repertory/save.txt

When I select this bookmark, it appears on my terminal like 
ssh admin@192.168.1.1 %7C tee -a /repertory/save.txt