[Kde-perl] Problem returning QByteArray from QProcess::readStdout
Richard Evans
scriptyrich at yahoo.co.uk
Wed Jun 25 12:36:32 CEST 2003
On Tuesday 24 Jun 2003 10:59 pm, Terrence (Terry) Fleury wrote:
> Hello,
>
> I'm trying to get a program working where I launch a sub-process (which is
> another command) and continue processing. Reading some of the past posts,
> I saw that I cannot use "fork" due to GUI problems, and threads aren't
> working either. So, it was suggested to use QProcess.
I'm guessing that was probably my post from a few months ago to the PerlQt
site - in fact you can fork without X problems if you're careful.
IIRC I had a callback installed that logged to a window, and whenever the
forked process logged, nasty things happened - my fault entirely :)
In summary - don't dismiss fork before trying it - it's worked fine for me
ever since!
Cheers
--
Rich
scriptyrich at yahoo.co.uk
More information about the Kde-perl
mailing list