[gegl] magick-load: pass redirect to /dev/null flags to g_spawn_async
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] magick-load: pass redirect to /dev/null flags to g_spawn_async
- Date: Thu, 16 Dec 2021 00:50:33 +0000 (UTC)
commit 2172cf7e8d7e8891ae2053d6eef213d5bef939cb
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Dec 16 01:49:25 2021 +0100
magick-load: pass redirect to /dev/null flags to g_spawn_async
operations/common/magick-load.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/magick-load.c b/operations/common/magick-load.c
index 595169115..3de376026 100644
--- a/operations/common/magick-load.c
+++ b/operations/common/magick-load.c
@@ -53,7 +53,8 @@ load_cache (GeglProperties *op_magick_load)
argv[1] = g_strdup_printf ("%s[0]", op_magick_load->path);
argv[2] = filename;
- if (!g_spawn_sync (NULL, argv, NULL, G_SPAWN_DEFAULT,
+ if (!g_spawn_sync (NULL, argv, NULL,
+ G_SPAWN_STDOUT_TO_DEV_NULL|G_SPAWN_STDERR_TO_DEV_NULL,
NULL, NULL, NULL, NULL, NULL, NULL))
g_warning ("Error executing ImageMagick convert program");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]