From 85fc843bed98e099c4165972a5c37f62b0e47c47 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 ca7ecf380..e17acd8ea 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -471,8 +471,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