On Jun 30 20:38, Kaz Kylheku wrote: > On 29.06.2016 15:28, Kaz Kylheku wrote: > > Hi all, > > > > I've encountered a strange behavior. When a Cygwin C application that is > > compiled with "-mwindows" tries to spawn another program, that > > application > > suddenly gets a console window! > > I tracked this down to the fhandler_console::need_invisible() call in > child_info_spawn::worker(). > > Whatever that is supposed to do is not working properly because > the invisible window is perfectly visible.
Try starting the process detached: spawnvp(_P_DETACH, argv[0], argv); Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
signature.asc
Description: PGP signature