KProcess and bash arguments

Rob Kaper cap at capsi.com
Mon Jul 8 08:48:13 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
-- 
Rob Kaper     | Gimme some love, gimme some skin,
cap at capsi.com | if we ain't got that then we ain't got much
www.capsi.com | and we ain't got nothing, nothing! -- "Nothing" by A




More information about the kde-core-devel mailing list