The following series is the result of work from
- Torge Matties, Jacek Caban and myself
- and went through various convergence, merges, rewrite and improvements
(especially patch #2 for various authors)
it provides:
- support for CREATE_NO_WINDOW flag in CreateProcess
- a solution for regression introduced in f034084d49b354811096524d472ae5172ac1cebf
(when a Wine initial process isn't attached to a unix console, it can
generates lots new console window creation, with unwanted side …
[View More]effects,
like not using parents std streams for output)
- with the correspondings non regression tests
v3 -> v4:
- using negative handle values for console pseudo handles
- don't report FIXME to users
- removed Wine only tests
Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com>
---
Supersedes: 231894-231897
Eric Pouech (4):
dlls/kernel32/tests: Add more CreateProcess console management tests.
dlls/{ntdll, kernel*}: Add support for CREATE_NO_WINDOW flag in CreateProcess.
include/condrv.h, server: using negative values for console pseudo handles
dlls/{ntdll,kernel*}: provide a pseudo console environment for initial CUI processes not tied to an Unix tty
dlls/kernel32/tests/console.c | 86 +++++++++++++++++++++++++++++------
dlls/kernelbase/console.c | 39 ++++++++++++----
dlls/kernelbase/process.c | 11 +++--
dlls/ntdll/unix/env.c | 2 +
dlls/ntdll/unix/process.c | 2 +
include/wine/condrv.h | 6 ++-
programs/conhost/conhost.c | 11 +++--
programs/conhost/conhost.h | 1 +
server/process.c | 4 +-
9 files changed, 128 insertions(+), 34 deletions(-)
[View Less]