suggested by Jacek Caban
Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- dlls/ntdll/unix/env.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/ntdll/unix/env.c b/dlls/ntdll/unix/env.c index c7e0674e083..a69d0f26e87 100644 --- a/dlls/ntdll/unix/env.c +++ b/dlls/ntdll/unix/env.c @@ -1657,6 +1657,8 @@ static void get_initial_console( RTL_USER_PROCESS_PARAMETERS *params ) wine_server_fd_to_handle( 1, GENERIC_WRITE|SYNCHRONIZE, OBJ_INHERIT, ¶ms->hStdOutput ); wine_server_fd_to_handle( 2, GENERIC_WRITE|SYNCHRONIZE, OBJ_INHERIT, ¶ms->hStdError );
+ params->ConsoleHandle = CONSOLE_HANDLE_ALLOC; + /* mark tty handles for kernelbase, see init_console */ if (params->hStdInput && isatty(0)) {