KProcess and bash arguments

Gioele Barabucci ml at gioelebarabucci.com
Mon Jul 8 17:30:54 BST 2002


On Sunday 07 July 2002 23:44, Jens Zurheide wrote:
> Hi,
>
> during investigating a timing dependent crash of KDevelop-2.1.2 (cvs) I
> found something in
> bool KProcess::start(RunMode runmode, Communication comm)
> that looks strange (and/or I have interpretation problems of the bash
> man-pages). KProcess calls in my case
> 	/bin/sh -c make -f admin/Makefile.common cvs
I'd use

KProcess p;
p.setUseShell(true);
p << "make -f admin/Makefile.common cvs";
p.start(TheWayYouLikeIt);


-- 
Gioele Barabucci (Gb])
) mailto:dev at gioelebarabucci.com
) http://www.gioelebarabucci.com
) ) I've been and now I've gone
) )          /Magic Pie^Oasis






More information about the kde-core-devel mailing list