From b5fa7cacb3f8fe2f7a1cb159b7ad8875cc2247c1 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 17 Nov 2018 17:36:10 +1100 Subject: [PATCH] Fix applications using conhost not showing output --- src/rest.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rest.rs b/src/rest.rs index 6d8059a..92c3f3e 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -20,6 +20,7 @@ use std::collections::HashMap; use std::net::SocketAddr; use std::process::exit; use std::process::Command; +use std::process::Stdio; use std::sync::mpsc::channel; use std::sync::Arc; use std::sync::RwLock; @@ -202,6 +203,8 @@ impl Service for WebService { if let Some(ref v) = framework.launcher_path { Command::new(v) + .stdout(Stdio::null()) + .stderr(Stdio::null()) .spawn() .log_expect("Unable to start child process"); }