Re: g_spawn*() on windows

2014-07-03 Thread jcupitt
On 3 July 2014 15:26, Allin Cottrell wrote: > On Thu, 3 Jul 2014, Michael Cronenworth wrote: >> On 07/03/2014 08:33 AM, jcup...@gmail.com wrote: >>> 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 >>>

Re: g_spawn*() on windows

2014-07-03 Thread Allin Cottrell
On Thu, 3 Jul 2014, Michael Cronenworth wrote: On 07/03/2014 08:33 AM, jcup...@gmail.com wrote: 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 h

Re: g_spawn*() on windows

2014-07-03 Thread Michael Cronenworth
On 07/03/2014 08:33 AM, jcup...@gmail.com wrote: 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 ea

Re: g_spawn*() on windows

2014-07-03 Thread Vivien Malerba
I get it. Did you add the -mwindows flag when linking your exe? Vivien On 3 July 2014 15:33, 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 scre

Re: g_spawn*() on windows

2014-07-03 Thread jcupitt
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,

Re: g_spawn*() on windows

2014-07-03 Thread Vivien Malerba
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, 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). >

g_spawn*() on windows

2014-07-03 Thread jcupitt
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 i