KProcess: how to do it right? (was: Last KProcess commit broke things (namely K3B))

Oswald Buddenhagen ossi at kde.org
Sat Jan 24 17:41:10 GMT 2004


On Sat, Jan 24, 2004 at 06:31:05PM +0100, Sebastian Trueg wrote:
> On Saturday 17 January 2004 13:00, Oswald Buddenhagen wrote:
> > > > if they do the same stupid thing (relying on undocumented features) ...
> 
> ok, so what I do is stupid. Thanks for that. ;)
>
yup  :-P  :)=
ok, in fact, kprocess is stupid. i plan a major rework for kde 4.

> Is there a way to get this functionality from KProcess in a non-stupid
> way or does it require implementing my own K3bProcess?
> 
well, the really bullet-proof way would be to create your own
pipes/socketpairs. consequently kprocess' io stuff would not work any
more - dunno if you mix direct piping with manual feeding.

greetings

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




More information about the kde-core-devel mailing list