From 456e3e24294f77822d34e981b556880cefc3ae8e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 25 Mar 2014 11:35:53 -0400 Subject: [PATCH] xwayland: Punt stdout / stderr to /dev/null This should really go to the journal, but I'm tired of seeing Xorg log a bunch of garbage that I don't care about when debugging mutter. --- src/wayland/meta-xwayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c index 20bf59684..20b86b443 100644 --- a/src/wayland/meta-xwayland.c +++ b/src/wayland/meta-xwayland.c @@ -377,7 +377,9 @@ meta_xwayland_start (MetaXWaylandManager *manager, args, env, G_SPAWN_LEAVE_DESCRIPTORS_OPEN | - G_SPAWN_DO_NOT_REAP_CHILD, + G_SPAWN_DO_NOT_REAP_CHILD | + G_SPAWN_STDOUT_TO_DEV_NULL | + G_SPAWN_STDERR_TO_DEV_NULL, uncloexec, GINT_TO_POINTER (sp[1]), &pid,