[PATCH v3 0/4] Console support & CreateProcess

Eric Pouech eric.pouech at gmail.com
Wed Apr 6 10:02:12 CDT 2022


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 effects)
- with the correspondings non regression tests

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---

Eric Pouech (4):
      dlls/kernel32/tests: Add more CreateProcess console management tests.
      dlls/{ntdll, kernel*}: Add support for CREATE_NO_WINDOW flag in CreateProcess.
      dlls/{ntdll,kernel*}: provide a pseudo console environment for initial CUI processes not tied to an Unix tty
      dlls/kernel32/tests: added tests for CreateProcess on a shell_no_window console


 dlls/kernel32/tests/console.c | 126 ++++++++++++++++++++++++++++++----
 dlls/kernelbase/console.c     |  44 +++++++++---
 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, 172 insertions(+), 35 deletions(-)




More information about the wine-devel mailing list