summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-06-17 15:38:17 +0000
committerChristopher Faylor <me@cgf.cx>2008-06-17 15:38:17 +0000
commit7ba4aab9b6b02ead19fcdde29a2ffe6bdc5db359 (patch)
tree62cb97a7fcdeeebe7520907384d28c2d07174b77
parent95c9157df07f7c59e07efec5e55c685feae04ab2 (diff)
downloadcygnal-7ba4aab9b6b02ead19fcdde29a2ffe6bdc5db359.tar.gz
cygnal-7ba4aab9b6b02ead19fcdde29a2ffe6bdc5db359.tar.bz2
cygnal-7ba4aab9b6b02ead19fcdde29a2ffe6bdc5db359.zip
* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
since it is required to prevent console flashing.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/spawn.cc2
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 66e6ae38a..66e71b383 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-17 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * spawn.cc (spawn_guts): Reinstate call to
+ fhandler_console::need_invisible since it is required to prevent
+ console flashing.
+
2008-06-17 Corinna Vinschen <corinna@vinschen.de>
* include/resolv.h (_getshort): Drop declaration.
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index c3d544e5a..2be98f2ab 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -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;