spawn processes in windows
- From: "Martin (OpenGeoMap)" <martin opengeomap org>
- Cc: gtkmm-list gnome org
- Subject: spawn processes in windows
- Date: Wed, 27 Aug 2008 08:41:25 +0200
hi:
Yesterday a guy have a problem with this:
GError *error;
gboolean ii=g_spawn_command_line_async (g_strdup_printf("\"%s\"
\"%s\"",executable,argument),&error);
//gboolean ii=g_spawn_command_line_async ("\"C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe\" \"C:/Archivos de
programa/GlobalMapper8/file1\"",&error);
The problem is in msdos console you need declare paths like this:
"C:/Archivos de programa/GlobalMapper8/global_mapper8.exe"
, but like you work in C you need scape the asterisk character with \
Regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]