[Qt-interest] Does QProcess::readAllStandardOutput have a limit?

Thiago Macieira thiago at kde.org
Thu Dec 2 20:00:47 CET 2010


Em Quinta-feira, 2 de Dezembro de 2010, às 19:31:28, Eric Clark escreveu:
> I was wondering if anyone knew of some sort of limitation on the number of
> bytes that readAll, readAllStandardOutput, or setStandardOutputFile will
> read from the process? In all cases, the text is cutoff at the same point
> in the output. I do not see anywhere in the documentation for QProcess
> where it says there is a limit, but the results I am getting leads me to
> believe that there is a limit.

The limit probably comes from the Operating System's pipe buffer limits and 
scheduling. It's not a hard limit, it just happens that your process was woken 
up when the data wasn't complete.

You should receive the rest of the data soon.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101202/a350f55d/attachment.bin 


More information about the Qt-interest-old mailing list