7009843ae3
To be able to call SetNamedPipeHandleState on stdin in a child process, we must create a read-end pipe handle with the FILE_WRITE_ATTRIBUTES flag set. This can't be done with CreateNamedPipe but only with CreateFile. Therefore we're creating the handles for the child process always with CreateFile now. Besides, it's conceptually cleaner to have the server handle of the named pipe in the calling process. [ChangeLog][QtCore][Windows] Fix regression from Qt4 in QProcess. It wasn't possible anymore to alter pipe modes of stdin in child processes. Task-number: QTBUG-35357 Change-Id: I85f09753d0c924bdc8a6cef1ea5dbe6b2299c604 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> |
||
---|---|---|
.. | ||
fileWriterProcess | ||
test | ||
testBatFiles | ||
testDetached | ||
testExitCodes | ||
testForwarding | ||
testGuiProcess | ||
testProcessCrash | ||
testProcessDeadWhileReading | ||
testProcessEcho | ||
testProcessEcho2 | ||
testProcessEcho3 | ||
testProcessEchoGui | ||
testProcessEnvironment | ||
testProcessEOF | ||
testProcessNormal | ||
testProcessOutput | ||
testProcessSpacesArgs | ||
testSetNamedPipeHandleState | ||
testSetWorkingDirectory | ||
testSoftExit | ||
testSpaceInName | ||
.gitignore | ||
qprocess.pri | ||
qprocess.pro | ||
tst_qprocess.cpp |