Le 05/04/2022 à 21:37, Jacek Caban a écrit :

Based on patches by Eric Pouech and Torge Matthies.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
---
v2: Added spawn_process part, spotted and implemented by Eric.

 dlls/kernel32/tests/console.c |  3 ---
 dlls/kernelbase/console.c     | 21 +++++++++++++++------
 dlls/kernelbase/process.c     | 11 +++++++----
 dlls/ntdll/unix/process.c     |  1 +
 include/wine/condrv.h         |  5 +++--
 programs/conhost/conhost.c    | 11 ++++++++---
 programs/conhost/conhost.h    |  1 +
 7 files changed, 35 insertions(+), 18 deletions(-)

in dlls/ntdll/unix/process.c, you changed spawn_process(); fork_and_exec() might need the same treatment