diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-12 19:50:51 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-07-08 15:03:23 -0700 |
| commit | 13a1995e9dc987d1560b38d16b76442261b4aa8d (patch) | |
| tree | bb2ba2d6ce159b1123721756c616cb10c8170c1a /src/corelib/thread/qbasicatomic.h | |
| parent | 8f1df9aaa87f1d899babce42a8fdbb28c13ae604 (diff) | |
QProcess/Unix: add a few, basic session & terminal management flags
Doing setsid() and disconnecting from the controlling terminal are, in
addition to resetting the standard file descriptors to /dev/null, a
common task that daemons do. These options allow a QProcess to force a
child to be a daemon.
QProcess ensures that the operations are done in the correct order.
Change-Id: I3e3bfef633af4130a03afffd175e9451d2716d7a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/thread/qbasicatomic.h')
0 files changed, 0 insertions, 0 deletions
