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

List:       kde-devel
Subject:    KProcess doesn't produce receive signal when waiting on input.
From:       "Christopher J. Bottaro" <cjbottaro () alumni ! cs ! utexas ! edu>
Date:       2005-02-25 19:29:39
Message-ID: cvnu3q$61g$1 () sea ! gmane ! org
[Download RAW message or body]

The process I'm running writes a bunch of lines, then asks for user input:

line1
line2
...
linen
Continue y/n?

I am connected to KProcess's receiveStdout and receiveStderr signals.  The
problem is that the signals stop coming before I've received all the
outputted text.

All my program wants to do is echo the sub process's output, but it stops
before it gets to the "Continue y/n?" line (actually, it stops *way* before
that line).

Given the example, my program only echos:

line1
line2
(half of line 3)

It doesn't receive signals for the other half of line3..line2 and the
"Continue y/n?".

What is going on?  Thanks for the help.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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