mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-22 18:35:37 +01:00
Fix applications using conhost not showing output
This commit is contained in:
parent
65493fd7c4
commit
b5fa7cacb3
@ -20,6 +20,7 @@ use std::collections::HashMap;
|
|||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
use std::process::Stdio;
|
||||||
use std::sync::mpsc::channel;
|
use std::sync::mpsc::channel;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::sync::RwLock;
|
use std::sync::RwLock;
|
||||||
@ -202,6 +203,8 @@ impl Service for WebService {
|
|||||||
|
|
||||||
if let Some(ref v) = framework.launcher_path {
|
if let Some(ref v) = framework.launcher_path {
|
||||||
Command::new(v)
|
Command::new(v)
|
||||||
|
.stdout(Stdio::null())
|
||||||
|
.stderr(Stdio::null())
|
||||||
.spawn()
|
.spawn()
|
||||||
.log_expect("Unable to start child process");
|
.log_expect("Unable to start child process");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user