[Development] RFC: QProcess variant or separate class for launching applications "GUI-style"

Thiago Macieira thiago.macieira at intel.com
Thu Jan 7 22:23:45 CET 2016


On Thursday 07 January 2016 22:14:47 René J. V. Bertin wrote:
> Maybe rather a QGuiProcess then? Or is OS X really the only OS where there
> exists a specific spawning API for GUI apps in addition to a more
> traditional Posix one?

The burden is on you to prove this class would be beneficial in cross-platform 
contexts too.

> - even in cases where fork+exec is appropriate, one should rather use
> posix_spawn(). (This would concern shell scripts, non gui apps or "agents"
> that should remain in the background until they decide otherwise
> themselves, etc.)

Not gonna happen. posix_spawn is too limited.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list