path: root/tests
diff options
authorThiago Macieira <>2021-02-18 11:16:47 -0800
committerThiago Macieira <>2021-02-21 18:47:19 -0800
commitf0ce50d3353e8a684f905e19dc6116dd1b515bf2 (patch)
tree75a79721995617c6a95847f3506d65d56aa88ad7 /tests
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 <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions