1
0
mirror of https://github.com/bobwen-dev/hunter synced 2025-04-12 00:55:41 +02:00

fix printing error to screen when hunter-media doesn't support video

This commit is contained in:
rabite 2019-07-29 18:23:02 +02:00
parent 199643a259
commit a807bacc89

View File

@ -152,7 +152,7 @@ impl MediaView {
.arg(&path)
.stdin(std::process::Stdio::piped())
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::inherit())
.stderr(std::process::Stdio::null())
.spawn()
.map_err(|e| {
let msg = format!("Couldn't run {}{}{}! Error: {:?}",