KProcess

Richard Moore rich at ipso-facto.freeserve.co.uk
Tue Feb 8 20:26:46 GMT 2000



Oliver Eichler wrote:
> 
> On Mon, 07 Feb 2000, you wrote:
> >Sorry in advance if the problem is "too newbie" :)
> >I have a problem with KProcess, here is a piece of the code:
> >
> >KProcess process; { Declared process }
> >process << "echo" << "this is a test"; { Gave process the arguments:
> 
> I would say it must be:
> 
> process << "echo" << "some" << "silly" << "words";

I guess you could also process << "quote\\ the\\ spaces";
Though I haven't tested it.

Rich.

> 
> KProcess does not digest whitespace.
> 
> oliver

-- 
     Richard Moore		rich at ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard at robocast.com
http://developer.kde.org/	rich at kde.org




More information about the KDevelop mailing list