KShell meta-char error in execute plugin

Milian Wolff mail at milianw.de
Sun Feb 21 11:29:32 UTC 2010


Milian Wolff, 21.02.2010:
> Hey all, I just tried this:
> 
> kdevelop --debug gdb php-parser --debug --code '<? class a {} $a = new a;
> $a-
> 
> >'
> 
> But I get: A shell meta character was included in the arguments for the
> launch configuration 'Debug php-parser', this is not supported currently.
> Aborting start.
> 
> Any idea why we forbit meta chars or what the meta char in the above code
> is? I don't see any problem with it, the < / > are in a string so not a
> meta char, right? Maybe a bug in KShell?

Ah, found it: The launch config saved the arguments like this:

--debug,--code,<? class a {} $a = new a;  $a

which is of course wrong. Changing it to the way they are up there (comma to 
space and encaps in string) it works.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100221/c93869d0/attachment.sig>


More information about the KDevelop-devel mailing list