[PATCH] KProcess port of khelpcenter

Oswald Buddenhagen ossi at kde.org
Tue Dec 18 10:18:21 GMT 2007


On Tue, Dec 18, 2007 at 11:16:59AM +0100, Ralf Habacker wrote:
> One open topic is  proc->setRunPrivileged( true ) for which no KProcess 
> counterpart is available.
>
that function has been a dummy for years, so you needn't to worry about
it. :)

> Index: khc_indexbuilder.cpp
> ===================================================================
> --- khc_indexbuilder.cpp	(revision 749421)
> +++ khc_indexbuilder.cpp	(working copy)
> +void IndexBuilder::slotProcessExited( int exitCode, QProcess::ExitStatus exitStatus )
> +    kError(1402) << "stdout output:" << proc->readAllStandardError(); 
> +    kError(1402) << "stderr output:" << proc->readAllStandardError();  
>
> +    kError(1402) << "stdout output:" << proc->readAllStandardError(); 
> +    kError(1402) << "stderr output:" << proc->readAllStandardError(); 
>
find two mistakes. :)

looks good other than that.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Confusion, chaos, panic - my work here is done.




More information about the kde-core-devel mailing list