summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qprocess/tst_qprocess.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-02-18 11:16:47 -0800
committerThiago Macieira <thiago.macieira@intel.com>2021-02-21 18:47:19 -0800
commitf0ce50d3353e8a684f905e19dc6116dd1b515bf2 (patch)
tree75a79721995617c6a95847f3506d65d56aa88ad7 /tests/auto/corelib/io/qprocess/tst_qprocess.cpp
parent089bcb007454fe44224139b2d0a0e4145f209b15 (diff)
QProcess::startDetached/Unix: simplify handling of the pipes
Use a structure that will automatically close them for us. This doesn't apply to startProcess() because the pipes there are long-lived (though each of them in QProcessPrivate could be an AutoPipe...). The destructor only runs in the parent process, so the child processes don't need to worry about setting file descriptors to -1. Pick-to: 6.1 Change-Id: Ic90d8429a0eb4837971dfffd1664ed98f3d74d1c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/tst_qprocess.cpp')
0 files changed, 0 insertions, 0 deletions