[Interest] QProcess: child read from stdin - no data received?

Thiago Macieira thiago.macieira at intel.com
Sun May 13 20:47:33 CEST 2012


On domingo, 13 de maio de 2012 18.36.02, Till Oliver Knoll wrote:
> this seems to be an ever recurring topic: How does one get notified in a 
> child process (started via QProcess) once there is data to be read on 
> stdin (in a platform-independent matter - but for now mostly OS X)?

There isn't a platform-independent way.

You've already found the way to do that on Unix (QSocketNotifier). There's no 
way that I know of on Windows. On Windows, just keep reading in blocking mode.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120513/f08ad4fe/attachment.sig>


More information about the Interest mailing list