Use of spawnvp function makes console window appear.

Kaz Kylheku kaz@kylheku.com
Fri Jul 1 03:40:00 GMT 2016


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.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list