KProcess and bash arguments

Jens Zurheide jens.zurheide at gmx.de
Mon Jul 8 20:57:06 BST 2002


>On Sun, Jul 07, 2002 at 11:44:12PM +0200, Jens Zurheide wrote:
>> man-pages). KProcess calls in my case
>> 	/bin/sh -c make -f admin/Makefile.common cvs
>> but reading the man pages of bash I have the impression that it should
>> be /bin/sh -c "make -f admin/Makefile.common cvs"
>
>How do you add the arguments to KProcess?
>
>Like this:
>
>*proc << "/bin/sh" << "-c" << "make" << "\"make -f admin/Makefile.common
> cvs\"";
>
>??
>
>Rob
Thanks for your answers, but please, just forget my previous post! It was 
far too late for any brain work. After looking into the same man pages as 
yesterday everything was clear today (and the code actually made sense ;) )

Jens





More information about the kde-core-devel mailing list