From 3432c63a6e02b691633940923ddfa080e34e7947 Mon Sep 17 00:00:00 2001 From: Nova Date: Sat, 5 Aug 2023 20:20:57 -0400 Subject: [PATCH] fix(main): don't pass through std anything from child processes --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6b49a74..f68230f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -200,6 +200,8 @@ fn main() { let mut startup_command = Command::new(startup_script_path); startup_command.stdin(Stdio::null()); + startup_command.stdout(Stdio::null()); + startup_command.stderr(Stdio::null()); startup_command.env( "FLAT_WAYLAND_DISPLAY", std::env::var_os("WAYLAND_DISPLAY").unwrap_or_default(), @@ -288,8 +290,6 @@ fn main() { .join() .expect("Failed to cleanly shut down event loop") .unwrap(); - // #[cfg(feature = "wayland")] - // let _wayland = ManuallyDrop::new(wayland); info!("Cleanly shut down Stardust"); }