[Development] RFC: QProcess variant or separate class for launching applications "GUI-style"
thiago.macieira at intel.com
Fri Jan 8 17:26:56 CET 2016
On Friday 08 January 2016 10:52:14 René J. V. Bertin wrote:
> What about the idea of a QProcess::startDetached variant that returns a
> QProcess instance? That'd make sense (IMHO) if it's possible to provide
> (at least) termination notification through the QProcess::finished signal -
> and I don't see why the fact of starting something in detached fashion
> would make it uninteresting to know if/when that process exits (e.g. to
> start it up again). The question would be of course to what extent it is
> possible to support this on more than a single platform.
I think you meant something other than startDetached. You can't get
notification signals from detached processes because they are detached. They
are meant to outlive the current application. You can't get SIGCHLD for them.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development