* fhandler.h (set_console_state_for_spawn): Drop declaration.
* fhandler_console.cc (set_console_state_for_spawn): Remove. (fhandler_console::open): Set console state last. Don't set ENABLE_PROCESSED_INPUT flag. * spawn.cc (spawn_guts): Drop call to set_console_state_for_spawn.
This commit is contained in:
@@ -441,8 +441,6 @@ spawn_guts (const char *prog_arg, const char *const *argv,
|
||||
|
||||
if (mode == _P_DETACH)
|
||||
c_flags |= DETACHED_PROCESS;
|
||||
else
|
||||
set_console_state_for_spawn (real_path.iscygexec ());
|
||||
|
||||
if (mode != _P_OVERLAY)
|
||||
myself->exec_sendsig = NULL;
|
||||
|
Reference in New Issue
Block a user