From 0c0bdac73e2aa598e4030b85f16b557fa4b3aaaf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 30 Jun 2016 20:51:59 -0700 Subject: When spawning, don't try to make invisible window. * winsup/cygwin/spawn.cc (child_info_spawn::worker): Do not call fhandler_console::need_invisible. It's not working properly. In an application which has no console because it was compiled -mwindows, calling this funcion causes a visible console window to appear. We don't need this in Cygnal; the Microsoft spawn functions don't pop up such windows. --- winsup/cygwin/spawn.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 88293fc30..87137cd03 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -439,8 +439,6 @@ child_info_spawn::worker (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; -- cgit v1.2.3