diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-30 20:51:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-30 20:51:59 -0700 |
commit | 3f93f175787bf9ed7bd4902096d2bf8b67c44adc (patch) | |
tree | 87b6eb0a9c7fdd1d8ced86e0bd3f0ec0782c8e84 /winsup/cygwin | |
parent | f0769cf193f7e95a9d42063ef57072b15a61398c (diff) | |
download | cygnal-3f93f175787bf9ed7bd4902096d2bf8b67c44adc.tar.gz cygnal-3f93f175787bf9ed7bd4902096d2bf8b67c44adc.tar.bz2 cygnal-3f93f175787bf9ed7bd4902096d2bf8b67c44adc.zip |
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.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 311d6cf0f..976d32958 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -443,8 +443,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; |