005a8bfbf0
The spawn code was only used to make QProcess work on QNX 6.5.0. Fork works on QNX 6.6.0. The QNX spawn implementation has a flaw that causes a deadlock in certain situations. When a working directory is specified for the process, the QNX spawn implementation stops all threads except the one doing the spawn so that it can temporarily change the process' working directory. This can lead to a deadlock if the thread does anything that conficts with something being done in a stopped thread. QNX 6.5.0 is no longer supported in Qt 5.6.0 so we can just switch QNX to the fork implementation and get rid of the spawn implementation. Made a QNX specific adjustment to the hardExit test. There's a bug in the OS that the test can run into because it does something that normal applications wouldn't. Task-number: QTBUG-47250 Change-Id: Ib32567d2c15ce651815858000035ac5aa6f35224 Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> |
||
---|---|---|
.. | ||
fileWriterProcess | ||
test | ||
testBatFiles | ||
testDetached | ||
testExitCodes | ||
testForwarding | ||
testGuiProcess | ||
testProcessCrash | ||
testProcessDeadWhileReading | ||
testProcessEcho | ||
testProcessEcho2 | ||
testProcessEcho3 | ||
testProcessEchoGui | ||
testProcessEnvironment | ||
testProcessEOF | ||
testProcessHang | ||
testProcessNormal | ||
testProcessOutput | ||
testProcessSpacesArgs | ||
testSetNamedPipeHandleState | ||
testSetWorkingDirectory | ||
testSoftExit | ||
testSpaceInName | ||
.gitignore | ||
BLACKLIST | ||
qprocess.pri | ||
qprocess.pro | ||
tst_qprocess.cpp |