KShell meta-char error in execute plugin
Andreas Pakulat
apaku at gmx.de
Sun Feb 21 11:44:39 UTC 2010
On 21.02.10 12:29:32, Milian Wolff wrote:
> 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.
Sounds like a bug in the code generating launch config from string
arguments. Maybe KShell::quoteArgs is not used?
Andreas
--
You are wise, witty, and wonderful, but you spend too much time reading
this sort of trash.
More information about the KDevelop-devel
mailing list