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:
parent
199643a259
commit
a807bacc89
@ -152,7 +152,7 @@ impl MediaView {
|
|||||||
.arg(&path)
|
.arg(&path)
|
||||||
.stdin(std::process::Stdio::piped())
|
.stdin(std::process::Stdio::piped())
|
||||||
.stdout(std::process::Stdio::piped())
|
.stdout(std::process::Stdio::piped())
|
||||||
.stderr(std::process::Stdio::inherit())
|
.stderr(std::process::Stdio::null())
|
||||||
.spawn()
|
.spawn()
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
let msg = format!("Couldn't run {}{}{}! Error: {:?}",
|
let msg = format!("Couldn't run {}{}{}! Error: {:?}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user