exec application in windows



Hi:

I am trying exec a exe in windows like this:

GError *error;
gboolean ii=g_spawn_comand_line_async ("C:/""Archivos de programa""/GlobalMapper8/global_mapper8.exe",&error);



and so:

GError *error;
gboolean ii=g_spawn_comand_line_async ("C:/""Archivos de programa""/GlobalMapper8/global_mapper8.exe",&error);


. but nothing works...



In MS-DOS this works fine:
C:/"Archivos de programa"/GlobalMapper8/global_mapper8.exe

The problem it´s the spaces in windows


This line works fine:
GError *error;
gboolean ii=g_spawn_comand_line_async ("C:/folder1/global_mapper8.exe",&error);


regards.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]