Hi Armin, Thanks for the fast reply!
I compile the child process with the "-mwindows" parameter but the problem is that I need to communicate with the child using stdin and stdout by the method spawn_process_with_pipes but with "-mwindows" there is no stdin and stdout... So, there is no solution? I will have to understand the CreateProcess API ? Even if I have a system() call in the application this blank console appears... :( If the bug is WONTFIX means there will be no fix? Thanks... Paulo Flabiano Smorigo On Thu, Oct 16, 2008 at 10:43, Armin Burgmeier <[EMAIL PROTECTED]> wrote: > On Thu, 2008-10-16 at 10:15 -0200, Paulo Flabiano Smorigo wrote: > > Hi everyone, > > > > I'm developing an application to run on Windows and uses spawn_process > > to run a command. > > I use the "-mwindows" paramenter to avoid the console screen but when > > I use the spawn the screen appears. > > The title of this console is the name of the executable that I > > spawned. > > I guess the spawned applications needs to be built with the -mwindows > flag for this. It is also possible to change that flag after the > application has been built. > > The Windows CreateProcess() API has a flag to suppress the console > window for the child, but Glib does not use it for spawning > applications. > > There has been a bug report about this which has been closed as WONTFIX: > http://bugzilla.gnome.org/show_bug.cgi?id=509201 > > So your options are either to change the -mwindows flag of the child > process (if you have control over that), or to use the Windows > CreateProcess() API directly. > > Armin > >
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
