[sushi] sushi-pdf-loader: silence terminal output
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] sushi-pdf-loader: silence terminal output
- Date: Fri, 20 Apr 2018 18:25:11 +0000 (UTC)
commit 033a522db089cffb3de9a23f078cd3895f747f78
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Fri Apr 20 11:21:04 2018 -0700
sushi-pdf-loader: silence terminal output
Do not spam output while checking whether LibreOffice flatpak is
installed.
src/libsushi/sushi-pdf-loader.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/libsushi/sushi-pdf-loader.c b/src/libsushi/sushi-pdf-loader.c
index d2083cb..7f13f8c 100644
--- a/src/libsushi/sushi-pdf-loader.c
+++ b/src/libsushi/sushi-pdf-loader.c
@@ -172,7 +172,10 @@ check_libreoffice_flatpak (SushiPdfLoader *self,
self->priv->checked_libreoffice_flatpak = TRUE;
ret = g_spawn_sync (NULL, (gchar **) check_argv, NULL,
- G_SPAWN_DEFAULT, NULL, NULL,
+ G_SPAWN_DEFAULT |
+ G_SPAWN_STDERR_TO_DEV_NULL |
+ G_SPAWN_STDOUT_TO_DEV_NULL,
+ NULL, NULL,
NULL, NULL,
&exit_status, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]