qt5base-lts/tests/auto/corelib/io/qprocess
Joerg Bornemann 7009843ae3 QProcess/Win: allow child processes to change modes of the stdin pipe
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>
2013-12-10 18:36:25 +01:00
..
fileWriterProcess Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test fix error handling bug in QWindowsPipeReader 2012-11-02 12:16:49 +01:00
testBatFiles
testDetached Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testExitCodes Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testForwarding add QProcess::InputChannelMode 2013-09-05 21:17:44 +02:00
testGuiProcess Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessCrash Make the null pointer dereference a volatile one 2013-01-29 01:47:01 +01:00
testProcessDeadWhileReading Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessEcho Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessEcho2 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessEcho3 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessEchoGui Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
testProcessEnvironment Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessEOF Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testProcessNormal qprocess autotests don't need QtGui 2013-02-09 18:44:41 +01:00
testProcessOutput qprocess autotests don't need QtGui 2013-02-09 18:44:41 +01:00
testProcessSpacesArgs qprocess autotests don't need QtGui 2013-02-09 18:44:41 +01:00
testSetNamedPipeHandleState QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
testSetWorkingDirectory qprocess autotests don't need QtGui 2013-02-09 18:44:41 +01:00
testSoftExit Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
testSpaceInName qprocess autotests don't need QtGui 2013-02-09 18:44:41 +01:00
.gitignore
qprocess.pri add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
qprocess.pro QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
tst_qprocess.cpp QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00