Re: Use of spawnvp function makes console window appear.

2016-07-01 Thread Kaz Kylheku
On July 1, 2016 Corinna Vinschen wrote: On Jun 30 20:38, Kaz Kylheku wrote: > 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 s

Re: Use of spawnvp function makes console window appear.

2016-07-01 Thread Corinna Vinschen
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 t

Re: Use of spawnvp function makes console window appear.

2016-06-30 Thread Kaz Kylheku
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() c

Use of spawnvp function makes console window appear.

2016-06-29 Thread Kaz Kylheku
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! Here is a simple, complete, repro case, that demonstrates the problem under Cygwin 2.5.2, on Windows 7: #