[mutter/wayland] xwayland: Punt stdout / stderr to /dev/null
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] xwayland: Punt stdout / stderr to /dev/null
- Date: Tue, 25 Mar 2014 16:00:53 +0000 (UTC)
commit 456e3e24294f77822d34e981b556880cefc3ae8e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Mar 25 11:35:53 2014 -0400
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 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 20bf596..20b86b4 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]