qt5base-lts/tests/auto/corelib
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
..
animation don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
codecs Allow non-character codes in utf8 strings 2013-10-17 09:50:58 +02:00
global tst_QFlags: make constExpr() check compile on clang trunk 2013-11-07 03:06:29 +01:00
io QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
itemmodels exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00
json Allow non-character codes in utf8 strings 2013-10-17 09:50:58 +02:00
kernel Fix quadratic behavior in QMetaObjectBuilder when writing string table 2013-12-06 18:18:44 +01:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread Fix test compilation on WinRT 2013-11-26 20:29:09 +01:00
tools QCommandLineParser: pluck some low-hanging fruit re: exception safety 2013-12-06 08:44:31 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro