[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KProcess and bash arguments
From:       Gioele Barabucci <ml () gioelebarabucci ! com>
Date:       2002-07-08 16:30:54
[Download RAW message or body]

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@gioelebarabucci.com
) http://www.gioelebarabucci.com
) ) I've been and now I've gone
) )          /Magic Pie^Oasis


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic