* dcrt0.cc (child_info_spawn::handle_spawn): Don't initialize the console
handler here. * dtable.cc (dtable::stdio_init): Initialize console handler here.
This commit is contained in:
@@ -134,7 +134,10 @@ dtable::stdio_init ()
|
||||
in case they're missed. */
|
||||
|
||||
if (myself->cygstarted || ISSTATE (myself, PID_CYGPARENT))
|
||||
return;
|
||||
{
|
||||
init_console_handler (myself->ctty >= 0);
|
||||
return;
|
||||
}
|
||||
|
||||
HANDLE in = GetStdHandle (STD_INPUT_HANDLE);
|
||||
HANDLE out = GetStdHandle (STD_OUTPUT_HANDLE);
|
||||
|
Reference in New Issue
Block a user