From 8e0d142b0afb413375585b96770bb5a109c20c30 Mon Sep 17 00:00:00 2001 From: whipstein <48056433+whipstein@users.noreply.github.com> Date: Sun, 22 Dec 2024 07:47:45 -0600 Subject: [PATCH] remove kill_on_drop(true) from Command (#193) Co-authored-by: Alex Butler --- .gitignore | 2 ++ src/vmaf.rs | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9126c8f..6ea2ceb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /target /aur *.log +.DS_Store +*.json diff --git a/src/vmaf.rs b/src/vmaf.rs index 1f7113f..b7240fc 100644 --- a/src/vmaf.rs +++ b/src/vmaf.rs @@ -22,8 +22,7 @@ pub fn run( ); let mut cmd = Command::new("ffmpeg"); - cmd.kill_on_drop(true) - .arg2_opt("-r", fps) + cmd.arg2_opt("-r", fps) .arg2("-i", distorted) .arg2_opt("-r", fps) .arg2("-i", reference)