fix: stop status polling from spawning FFmpeg and hide subprocess console windows
Build Windows Release / Windows installer (push) Canceled after 0s

This commit is contained in:
Alvin-Zilverstand committed 2026-09-14 13:51:46 +02:00
1 parent 355a798c34
commit bde7d78c3d
9 files changed
+95 -48

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
use crate::proc::hidden_command;
use std::path::Path;
use std::process::Command;
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum AudioDeviceKind {
@@ -14,7 +14,7 @@ pub struct AudioDevice {
}
pub fn list_ffmpeg_dshow_audio_inputs(ffmpeg: &Path) -> Vec<AudioDevice> {
let Ok(output) = Command::new(ffmpeg)
let Ok(output) = hidden_command(ffmpeg)
.args([
"-hide_banner",
"-list_devices",