Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: refactor command execution in search_videos to use crate::core::process::command

Tonho21b6ef2ac610
diff --git a/src-tauri/src/commands/search.rs b/src-tauri/src/commands/search.rs
index 60f9cc3c..b2022065 100644
--- a/src-tauri/src/commands/search.rs
+++ b/src-tauri/src/commands/search.rs
@@ -31,7 +31,7 @@ pub async fn search_videos(
_ => format!("ytsearch{}:{}", n, query),
};
- let output = tokio::process::Command::new(&ytdlp_path)
+ let output = crate::core::process::command(&ytdlp_path)
.args([
"--flat-playlist",
"--dump-json",