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
1 changed files with 1 additions and 1 deletions

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: {:?}",