Use of spawnvp function makes console window appear.
Fri Jul 1 12:41:00 GMT 2016
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
> 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, argv);
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Cygwin