[Development] Deprecating the static QProcess::startDetached() overloads
Konstantin Tokarev
annulen at yandex.ru
Wed Feb 27 18:20:43 CET 2019
27.02.2019, 19:00, "Thiago Macieira" <thiago.macieira at intel.com>:
> On Tuesday, 26 February 2019 22:59:12 PST J-P Nurmi wrote:
>> Is it technically possible to start() and then detach()?
>
> No, because the way to start changes. The detached mode requires a double fork
> and the actual detaching from the TTYs.
>
> You can orphan / forget about the child, but it won't be detached. It may
> still get killed by SIGHUP when the parent process exits.
That's what is really needed in many cases. Double fork and detaching from the TTYs
is only required for starting daemons
--
Regards,
Konstantin
More information about the Development
mailing list