Re: exec application in windows
- From: "Michael Lamothe" <michael lamothe gmail com>
- To: "Martin (OpenGeoMap)" <martin opengeomap org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: exec application in windows
- Date: Wed, 21 Nov 2007 02:02:19 +1100
If you want to put a quote in in your string you should be using \",
right? Not "".
Also try,
gboolean ii=g_spawn_comand_line_async ("\"C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe\"",&error);
I would've thought that one of those would work.
Thanks,
Michael
On 21/11/2007, Michael Lamothe <michael lamothe gmail com> wrote:
Have you tried,
gboolean ii=g_spawn_comand_line_async ("C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe",&error);
Thanks,
Michael
On 21/11/2007, Martin (OpenGeoMap) <martin opengeomap org> wrote:
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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]