138 |
} |
} |
139 |
|
|
140 |
/* creation d'une image iso */ |
/* creation d'une image iso */ |
141 |
gint make_image(GHashTable *Ahash, GError **Aerror) |
gboolean make_image(GHashTable *Ahash, GError **Aerror) |
142 |
{ |
{ |
143 |
gchar **Lcmd; |
gchar **Lcmd; |
144 |
gchar *Lcommandline; |
gchar *Lcommandline; |
173 |
return FALSE; |
return FALSE; |
174 |
} |
} |
175 |
Lstatus = g_spawn_async_with_pipes(NULL, Lcmd, NULL, /* env argument */ |
Lstatus = g_spawn_async_with_pipes(NULL, Lcmd, NULL, /* env argument */ |
176 |
(GSpawnFlags ) (0), |
(GSpawnFlags ) (G_SPAWN_DO_NOT_REAP_CHILD), |
177 |
NULL, NULL, Lpid, &g_in, &g_out, &g_err, Aerror); |
NULL, NULL, Lpid, &g_in, &g_out, &g_err, Aerror); |
178 |
g_strfreev(Lcmd); |
g_strfreev(Lcmd); |
179 |
|
|
198 |
while (*Lcont>0 && *Labort == FALSE) { |
while (*Lcont>0 && *Labort == FALSE) { |
199 |
gtk_main_iteration(); |
gtk_main_iteration(); |
200 |
} |
} |
201 |
|
|
202 |
|
exit_prog(*Lpid, Aerror, _("Error while reading CD")); |
203 |
|
|
204 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |
205 |
g_source_remove(Lcomerrevent); |
g_source_remove(Lcomerrevent); |
206 |
|
|