qt6-bb10/tests/auto/corelib/io/qprocess
Thiago Macieira 0f56502fb6 QProcess/Unix: fix close() on invalid file descriptor
Commit 90bc0ad41f ("QProcess/Unix: add
failChildProcessModifier()") added this line that set childStartedPipe
so that the failChildProcess() callback had something to write to. But
we left it set on exit from QProcessPrivate::startDetached(), which
caused the QProcess destructor to try and close it.

Noticed when debugging the issue for QTBUG-123083.

Pick-to: 6.7 6.7.0
Task-number: QTBUG-123083
Change-Id: I6818d78a57394e37857bfffd17bbc41c8400270f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-03-12 22:21:13 -07:00
..
fileWriterProcess Change license for tests files 2024-02-04 09:56:42 +01:00
test QProcess: add testUnixProcessParameters as a dep. for tst_qprocess 2023-06-18 20:32:30 +03:00
testBatFiles
testDetached Change license for tests files 2024-02-04 09:56:42 +01:00
testExitCodes Change license for tests files 2024-02-04 09:56:42 +01:00
testForwarding Change license for tests files 2024-02-04 09:56:42 +01:00
testForwardingHelper Change license for tests files 2024-02-04 09:56:42 +01:00
testGuiProcess Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessCrash Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessDeadWhileReading Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEOF Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho2 Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho3 Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEchoGui Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEnvironment Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessHang Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessNormal Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessOutput Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessSpacesArgs Change license for tests files 2024-02-04 09:56:42 +01:00
testSetNamedPipeHandleState Change license for tests files 2024-02-04 09:56:42 +01:00
testSetWorkingDirectory Change license for tests files 2024-02-04 09:56:42 +01:00
testSoftExit Change license for tests files 2024-02-04 09:56:42 +01:00
testSpaceInName Change license for tests files 2024-02-04 09:56:42 +01:00
testUnixProcessParameters Change license for tests files 2024-02-04 09:56:42 +01:00
.gitignore
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
crasher.h Change license for tests files 2024-02-04 09:56:42 +01:00
tst_qprocess.cpp QProcess/Unix: fix close() on invalid file descriptor 2024-03-12 22:21:13 -07:00