Re: OProcess output buffering issue

Erik Hovland <[email protected]> Thu, 1 Feb 2007 11:23:43 -0800
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
On Thu, Feb 01, 2007 at 11:45:32PM +1300, Paul Eggleton wrote:
> Hi all,
> 
> I'm trying to use OProcess to run a process and communicate with it 
> interactively. However, it seems that if the process sends back too much text 
> at once through stdout, then that text doesn't get passed back to me through 
> the receivedStdout() signal, but instead gets stuck in a buffer somewhere 
> until the next time the process sends a block of text.
> 
> Any ideas?

Sounds like the dreaded line buffering problem. Is there anyway to
manipulate the buffering of the program who's process you are watching?

You can fall back to regular ol' unix pipes if you know it is OProcess.

E

-- 
Erik Hovland
mail: [email protected]
web: http://hovland.org/
PGP/GPG public key available on request

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel