mirror of https://github.com/bobwen-dev/hunter
fix printing error to screen when hunter-media doesn't support video
This commit is contained in:
parent
199643a259
commit
a807bacc89
|
@ -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: {:?}",
|
||||
|
|
Loading…
Reference in New Issue