This commit is contained in:
Markos Gogoulos
2025-05-22 12:00:56 +03:00
parent a21314a2bb
commit d143c5da1c
3 changed files with 16 additions and 17 deletions
-1
View File
@@ -426,7 +426,6 @@ def kill_ffmpeg_process(filepath):
result = subprocess.run(cmd, stdout=subprocess.PIPE, shell=True)
pid = result.stdout.decode("utf-8").strip()
if pid:
logger.info("Killing ffmpeg process with PID: %s", pid)
cmd = "kill -9 %s" % pid
result = subprocess.run(cmd, stdout=subprocess.PIPE, shell=True)
return result