I get it. Did you add the -mwindows flag when linking your exe? Vivien
On 3 July 2014 15:33, <jcup...@gmail.com> wrote: > Hi Vivien, > > Yes, I'm doing that. It all works and I can capture stdout and stderr > from the convert.exe I'm running, it's just that I get a very annoying > command window flash on the screen each time. > > If anyone has any ideas about the command window, I'm all ears :-( > > John > > > > > > On 3 July 2014 14:26, Vivien Malerba <vmale...@gmail.com> wrote: > > Hi! > > From memory you need a copy the gspawn-win32-helper.exe executable (in > your > > %PATH% I guess). > > Regards, > > Vivien > > > > > > On 3 July 2014 14:25, <jcup...@gmail.com> wrote: > >> > >> Hi all, > >> > >> I'm using g_spawn_command_line_sync() to run a series of command-line > >> programs (actually ImageMagick's convert, if that's important). > >> > >> It works fine, but on Windows I get an incredibly annoying console > >> window flash up for a fraction of a second for each command. Does > >> anyone have any good ideas for hiding this? > >> > >> From a bit of reading it seems that the glib helper program might need > >> to be changed: it uses _wspawnv() to start the command and this will > >> (I think) always show a console window for a console program. Is this > >> right? > >> > >> John > >> _______________________________________________ > >> gtk-app-devel-list mailing list > >> gtk-app-devel-list@gnome.org > >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list