]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix potential unnecessary exit in trying to handle spawning of external command.
authorRob Norris <rw_norris@hotmail.com>
Fri, 8 Feb 2013 01:38:58 +0000 (01:38 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sat, 9 Feb 2013 03:29:00 +0000 (03:29 +0000)
Mostly only a problem on Windows if the gspawn-win32-helper.exe program is not available.
NB Currently we package it in the Windows installation.

src/babel.c

index 5bcc2a4eb335192ca6102d79c9d4b7f9b22c8812..1c55a2a88dc4c1d1b87f5f916d07811850646642 100644 (file)
@@ -134,7 +134,7 @@ static gboolean babel_general_convert( BabelStatusFunc cb, gchar **args, gpointe
   gint babel_stdout;
 
   if (!g_spawn_async_with_pipes (NULL, args, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid, NULL, &babel_stdout, NULL, &error)) {
-    g_error("Async command failed: %s", error->message);
+    g_warning ("Async command failed: %s", error->message);
     g_error_free(error);
     ret = FALSE;
   } else {