* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible

since it is required to prevent console flashing.
This commit is contained in:
Christopher Faylor
2008-06-17 15:38:17 +00:00
parent 95c9157df0
commit 7ba4aab9b6
2 changed files with 8 additions and 0 deletions

View File

@ -441,6 +441,8 @@ spawn_guts (const char *prog_arg, const char *const *argv,
if (mode == _P_DETACH)
c_flags |= DETACHED_PROCESS;
else
fhandler_console::need_invisible ();
if (mode != _P_OVERLAY)
myself->exec_sendsig = NULL;