Use subprocess.call instead of Popen

This commit is contained in:
Nathan Thomas 2021-09-11 21:39:23 -07:00
parent f9f85a89e2
commit 1c06eab7c4

View file

@ -910,8 +910,8 @@ class Video(Media):
file_list.write(text)
# Use ffmpeg to concat the files
p = subprocess.Popen(
[
subprocess.call(
(
"ffmpeg",
"-f",
"concat",
@ -924,9 +924,8 @@ class Video(Media):
"-loglevel",
"panic",
self.path,
]
)
)
p.wait()
os.remove(file_list_path)