[Kde-perl] Problem returning QByteArray from QProcess::readStdout
Terrence Fleury (Terry)
tfleury at ncsa.uiuc.edu
Wed Jun 25 19:17:22 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
Yes, I'm pretty sure it was your posting I read about fork(). I tried to
get fork() to work but I was having problems with the GUI giving me errors
when the child process exited. Oh well, Qt::Process works just fine now.
Thanks for the help!
Terrence Fleury
tfleury at ncsa.uiuc.edu
More information about the Kde-perl
mailing list