[gnome-desktop/wip/hadess/sandbox-flatpak-thumbnailer: 4/6] thumbnail: Add note about getting debug output from commands
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/wip/hadess/sandbox-flatpak-thumbnailer: 4/6] thumbnail: Add note about getting debug output from commands
- Date: Mon, 12 Oct 2020 09:25:42 +0000 (UTC)
commit f3fa582db6c8822b26a6b436b154df3398fad087
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 9 13:33:41 2020 +0200
thumbnail: Add note about getting debug output from commands
libgnome-desktop/gnome-desktop-thumbnail-script.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c
b/libgnome-desktop/gnome-desktop-thumbnail-script.c
index 387e5638..fea2ae0f 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -878,6 +878,8 @@ gnome_desktop_thumbnail_script_exec (const char *cmd,
print_script_debug (expanded_script);
+ /* NOTE: Replace the error_out argument with NULL, if you want to see
+ * the output of the spawned command and its children */
ret = g_spawn_sync (NULL, expanded_script, NULL, G_SPAWN_SEARCH_PATH,
child_setup, exec->fd_array, NULL, &error_out,
&exit_status, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]