On Wed, Feb 27, 2019 at 9:00 AM J-P Nurmi <[email protected]> wrote:

> Is it technically possible to start() and then detach()?
> [...]
>

This is quite important for me. I have a module that implements a
daemon/service[1] (due to QtService being old and not integrating with
windows' service manager) and I use the static `QProcess::startDetached` to
start the daemon and detach from the controlling terminal (on Linux). I
need *AN* API to do this, otherwise I'd have to (re)implement
double-forking myself. If there are changes I'm going to comply with them,
but please, deprecate only if you allow for detaching (later) through the
non-static methods.

[1]: https://bitbucket.org/nye/qtdaemon
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to